8022478: Fix Warnings In sun.net.www.protocol.http Package
authordxu
Tue, 06 Aug 2013 18:16:02 -0700
changeset 19219 0d4231d25a29
parent 19218 8e7212b90b81
child 19220 d3d40ccb544e
8022478: Fix Warnings In sun.net.www.protocol.http Package Reviewed-by: darcy
jdk/src/share/classes/sun/net/www/protocol/http/AuthCacheValue.java
jdk/src/share/classes/sun/net/www/protocol/http/AuthenticationInfo.java
--- a/jdk/src/share/classes/sun/net/www/protocol/http/AuthCacheValue.java	Tue Aug 06 17:42:47 2013 -0700
+++ b/jdk/src/share/classes/sun/net/www/protocol/http/AuthCacheValue.java	Tue Aug 06 18:16:02 2013 -0700
@@ -37,6 +37,8 @@
 
 public abstract class AuthCacheValue implements Serializable {
 
+    static final long serialVersionUID = 735249334068211611L;
+
     public enum Type {
         Proxy,
         Server
--- a/jdk/src/share/classes/sun/net/www/protocol/http/AuthenticationInfo.java	Tue Aug 06 17:42:47 2013 -0700
+++ b/jdk/src/share/classes/sun/net/www/protocol/http/AuthenticationInfo.java	Tue Aug 06 18:16:02 2013 -0700
@@ -51,6 +51,8 @@
 
 public abstract class AuthenticationInfo extends AuthCacheValue implements Cloneable {
 
+    static final long serialVersionUID = -2588378268010453259L;
+
     // Constants saying what kind of authroization this is.  This determines
     // the namespace in the hash table lookup.
     public static final char SERVER_AUTHENTICATION = 's';