changeset 9526:1d21ff5c2b3f

8022478: Fix Warnings In sun.net.www.protocol.http Package Reviewed-by: darcy
author dxu
date Tue, 06 Aug 2013 18:16:02 -0700
parents e303c228bf31
children e117fcdd2176
files src/share/classes/sun/net/www/protocol/http/AuthCacheValue.java src/share/classes/sun/net/www/protocol/http/AuthenticationInfo.java
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/net/www/protocol/http/AuthCacheValue.java	Tue Aug 06 17:42:47 2013 -0700
+++ b/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/src/share/classes/sun/net/www/protocol/http/AuthenticationInfo.java	Tue Aug 06 17:42:47 2013 -0700
+++ b/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';