8020310: JDK-6356530 broke the old build
authorvaleriep
Wed, 10 Jul 2013 18:14:35 -0700
changeset 18813 02de3cfa6c49
parent 18812 becb627a8655
child 18814 25c709363d08
8020310: JDK-6356530 broke the old build Summary: Add serialVersionUID to AuthProvider and P11Key class. Reviewed-by: xuelei
jdk/src/share/classes/java/security/AuthProvider.java
jdk/src/share/classes/sun/security/pkcs11/P11Key.java
--- a/jdk/src/share/classes/java/security/AuthProvider.java	Tue Jul 09 15:26:20 2013 -0700
+++ b/jdk/src/share/classes/java/security/AuthProvider.java	Wed Jul 10 18:14:35 2013 -0700
@@ -41,6 +41,8 @@
  */
 public abstract class AuthProvider extends Provider {
 
+    private static final long serialVersionUID = 4197859053084546461L;
+
     /**
      * Constructs a provider with the specified name, version number,
      * and information.
--- a/jdk/src/share/classes/sun/security/pkcs11/P11Key.java	Tue Jul 09 15:26:20 2013 -0700
+++ b/jdk/src/share/classes/sun/security/pkcs11/P11Key.java	Wed Jul 10 18:14:35 2013 -0700
@@ -65,6 +65,8 @@
  */
 abstract class P11Key implements Key, Length {
 
+    private static final long serialVersionUID = -2575874101938349339L;
+
     private final static String PUBLIC = "public";
     private final static String PRIVATE = "private";
     private final static String SECRET = "secret";