src/java.base/share/classes/sun/net/www/protocol/http/AuthenticationInfo.java
changeset 57956 e0b8b019d2f5
parent 57793 d372747e8f08
child 57968 8595871a5446
child 58679 9c3209ff7550
--- a/src/java.base/share/classes/sun/net/www/protocol/http/AuthenticationInfo.java	Thu Aug 29 18:52:30 2019 -0400
+++ b/src/java.base/share/classes/sun/net/www/protocol/http/AuthenticationInfo.java	Thu Aug 29 16:31:34 2019 -0700
@@ -53,6 +53,7 @@
 
 public abstract class AuthenticationInfo extends AuthCacheValue implements Cloneable {
 
+    @java.io.Serial
     static final long serialVersionUID = -2588378268010453259L;
 
     // Constants saying what kind of authroization this is.  This determines
@@ -498,6 +499,7 @@
 
     String s1, s2;  /* used for serialization of pw */
 
+    @java.io.Serial
     private synchronized void readObject(ObjectInputStream s)
         throws IOException, ClassNotFoundException
     {
@@ -509,6 +511,7 @@
         }
     }
 
+    @java.io.Serial
     private synchronized void writeObject(java.io.ObjectOutputStream s)
         throws IOException
     {