This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: Patch: java.security and javax.security


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I commited the attached obvious patch to fix some things in 
java(x).security.


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+/G2LWSOgCCdjSDsRAig+AJ9KwtwaKm1vG269/qQEIXs2dMArhwCdG1xN
vpGotmc5pO3yf3NcwMrysVU=
=/tgc
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.2004
diff -u -b -B -r1.2004 ChangeLog
--- ChangeLog	27 Jun 2003 15:49:36 -0000	1.2004
+++ ChangeLog	27 Jun 2003 15:55:59 -0000
@@ -1,5 +1,20 @@
 2003-06-27  Michael Koch  <konqueror@gmx.de>
 
+	* java/security/Certificate.java
+	(getGuarantor): Removed wrong @deprecated tag.
+	(getPrincipal): Likewise.
+	(getPublicKey): Likewise.
+	(encode): Likewise.
+	(decode): Likewise.
+	(getFormat): Likewise.
+	(toString): Likewise.
+	* java/security/cert/PolicyQualifierInfo.java
+	(PolicyQualifierInfo): Made final.
+	* javax/security/auth/x500/X500Principal.java
+	(serialVersionUID): New member variable.
+
+2003-06-27  Michael Koch  <konqueror@gmx.de>
+
 	* java/text/Format.java
 	(serialVersionUID): Fixed value.
 
Index: java/security/Certificate.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/security/Certificate.java,v
retrieving revision 1.3
diff -u -b -B -r1.3 Certificate.java
--- java/security/Certificate.java	24 May 2002 11:57:12 -0000	1.3
+++ java/security/Certificate.java	27 Jun 2003 15:55:59 -0000
@@ -62,7 +63,6 @@
    * this certificate.
    *
    * @return the <code>Principal</code> guaranteeing the certificate
-   * @deprecated this entire interface is deprecated
    */
   Principal getGuarantor();
 
@@ -71,7 +71,6 @@
    * this certificate.
    *
    * @return the <code>Principal</code> guaranteed by this certificate
-   * @deprecated this entire interface is deprecated
    */
   Principal getPrincipal();
 
@@ -80,7 +79,6 @@
    * is being guaranteed.
    *
    * @return the <code>PublicKey</code> of the Principal being guaranteed
-   * @deprecated this entire interface is deprecated
    */
   PublicKey getPublicKey();
 
@@ -93,7 +91,6 @@
    * @throws IOException if an error occurs writing to the stream
    * @see #decode(InputStream)
    * @see #getFormat()
-   * @deprecated this entire interface is deprecated
    */
   void encode(OutputStream out) throws KeyException, IOException;
 
@@ -105,7 +102,6 @@
    * @throws IOException if an error occurs reading from the stream
    * @see #encode(OutputStream)
    * @see #getFormat()
-   * @deprecated this entire interface is deprecated
    */
   void decode(InputStream in) throws KeyException, IOException;
 
@@ -115,7 +111,6 @@
    * <code>decode</code> methods.
    *
    * @return the encoding format being used
-   * @deprecated this entire interface is deprecated
    */
   String getFormat();
 
@@ -125,7 +120,6 @@
    *
    * @param detail true to provided more detailed information
    * @return the string representation
-   * @deprecated this entire interface is deprecated
    */
   String toString(boolean detail);
 } // interface Certificate
Index: java/security/cert/PolicyQualifierInfo.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/security/cert/PolicyQualifierInfo.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 PolicyQualifierInfo.java
--- java/security/cert/PolicyQualifierInfo.java	30 Apr 2003 07:23:42 -0000	1.1
+++ java/security/cert/PolicyQualifierInfo.java	27 Jun 2003 15:55:59 -0000
@@ -65,7 +65,7 @@
  *
  * @since JDK 1.4
  */
-public class PolicyQualifierInfo
+public final class PolicyQualifierInfo
 {
 
   // Fields.
Index: javax/security/auth/x500/X500Principal.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/security/auth/x500/X500Principal.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 X500Principal.java
--- javax/security/auth/x500/X500Principal.java	30 Apr 2003 07:23:42 -0000	1.1
+++ javax/security/auth/x500/X500Principal.java	27 Jun 2003 15:55:59 -0000
@@ -55,6 +55,7 @@
 
 public final class X500Principal implements Principal, Serializable
 {
+  private static final long serialVersionUID = -500463348111345721L;
 
   // Constants and fields.
   // ------------------------------------------------------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]