I'm checking this in to the trunk.  In 1.2, java.security.PublicKey
and PrivateKey extend Key.  I'm putting this into Classpath as well.

I'm not sure why, but the Classpath java.security.PublicKey has a
public serialVersionUID in it, while the libgcj version does not.  I'm
removing it from the Classpath version.  Anybody care to comment?

2001-06-04  Tom Tromey  <[EMAIL PROTECTED]>

        * java/security/PublicKey.java: Extend Key.
        * java/security/PrivateKey.java: Extend Key.

Tom


Index: java/security/PrivateKey.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/security/PrivateKey.java,v
retrieving revision 1.2
diff -u -r1.2 PrivateKey.java
--- PrivateKey.java     2001/04/25 15:45:12     1.2
+++ PrivateKey.java     2001/06/04 22:52:36
@@ -1,5 +1,5 @@
 /* PrivateKey.java -- "Super-interface" for all private keys
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2001 Free Software Foundation, Inc.
 
    This file is part of GNU Classpath.
 
@@ -35,6 +35,6 @@
    *
    * @author Aaron M. Renn ([EMAIL PROTECTED])
  */
-public interface PrivateKey
+public interface PrivateKey extends Key
 {
 }
Index: java/security/PublicKey.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/security/PublicKey.java,v
retrieving revision 1.2
diff -u -r1.2 PublicKey.java
--- PublicKey.java      2001/04/25 15:45:12     1.2
+++ PublicKey.java      2001/06/04 22:52:36
@@ -1,5 +1,5 @@
 /* PublicKey.java -- "Super-interface" for all public keys
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2001 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -34,6 +34,6 @@
  *
  * @author Aaron M. Renn ([EMAIL PROTECTED])
  */
-public interface PublicKey
+public interface PublicKey extends Key
 {
 }

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to