diff -r b7192797f434 -r c6f8b2c3dc66 src/java.desktop/share/classes/javax/imageio/spi/DigraphNode.java --- a/src/java.desktop/share/classes/javax/imageio/spi/DigraphNode.java Tue Sep 24 22:57:28 2019 +0100 +++ b/src/java.desktop/share/classes/javax/imageio/spi/DigraphNode.java Tue Sep 24 18:25:54 2019 -0700 @@ -43,12 +43,14 @@ private static final long serialVersionUID = 5308261378582246841L; /** The data associated with this node. */ + @SuppressWarnings("serial") // Not statically typed as Serializable protected E data; /** * A {@code Set} of neighboring nodes pointed to by this * node. */ + @SuppressWarnings("serial") // Not statically typed as Serializable protected Set> outNodes = new HashSet<>(); /** The in-degree of the node. */ @@ -58,6 +60,7 @@ * A {@code Set} of neighboring nodes that point to this * node. */ + @SuppressWarnings("serial") // Not statically typed as Serializable private Set> inNodes = new HashSet<>(); public DigraphNode(E data) {