changeset 7669:7bd2993e03fa

8020310: JDK-6356530 broke the old build Summary: Add serialVersionUID to AuthProvider and P11Key class. Reviewed-by: xuelei
author valeriep
date Wed, 10 Jul 2013 18:14:35 -0700
parents 4fcac826628c
children 4c95c032c395
files src/share/classes/java/security/AuthProvider.java src/share/classes/sun/security/pkcs11/P11Key.java
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/security/AuthProvider.java	Tue Jul 09 15:26:20 2013 -0700
+++ b/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/src/share/classes/sun/security/pkcs11/P11Key.java	Tue Jul 09 15:26:20 2013 -0700
+++ b/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";