classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: java.security.PublicKey and PrivateKey


From: Tom Tromey
Subject: Patch: java.security.PublicKey and PrivateKey
Date: 04 Jun 2001 17:06:12 -0600

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  <address@hidden>

        * 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 (address@hidden)
  */
-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 (address@hidden)
  */
-public interface PublicKey
+public interface PublicKey extends Key
 {
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]