--- old/src/java.base/share/classes/sun/net/www/http/KeepAliveCache.java 2019-08-27 17:29:31.606324386 -0700 +++ new/src/java.base/share/classes/sun/net/www/http/KeepAliveCache.java 2019-08-27 17:29:31.434324386 -0700 @@ -49,6 +49,7 @@ public class KeepAliveCache extends HashMap implements Runnable { + @java.io.Serial private static final long serialVersionUID = -2937172892064557949L; /* maximum # keep-alive connections to maintain at once @@ -203,10 +204,12 @@ /* * Do not serialize this class! */ + @java.io.Serial private void writeObject(ObjectOutputStream stream) throws IOException { throw new NotSerializableException(); } + @java.io.Serial private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { @@ -218,6 +221,7 @@ * to time them out. If > maxConns are in use, block. */ class ClientVector extends ArrayDeque { + @java.io.Serial private static final long serialVersionUID = -8680532108106489459L; // sleep time in milliseconds, before cache clear @@ -268,10 +272,12 @@ /* * Do not serialize this class! */ + @java.io.Serial private void writeObject(ObjectOutputStream stream) throws IOException { throw new NotSerializableException(); } + @java.io.Serial private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {