This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: java.security.PublicKey and PrivateKey
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Subject: Patch: java.security.PublicKey and PrivateKey
- From: Tom Tromey <tromey at redhat dot com>
- Date: 04 Jun 2001 17:06:12 -0600
- Cc: Classpath Project <classpath at gnu dot org>
- Reply-To: tromey at redhat dot com
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 <tromey@redhat.com>
* 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 (arenn@urbanophile.com)
*/
-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 (arenn@urbanophile.com)
*/
-public interface PublicKey
+public interface PublicKey extends Key
{
}