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: gnu/java/security/x509/X509Certificate.java


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

Hi list,


I commited the attached patch to trunk to import used classes 
explicitely in gnu/java/security/x509/X509Certificate.java.


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

iD8DBQE+7xHlWSOgCCdjSDsRAq33AJ9Ijtsbbow4XftO8Bmh+F9GHUakoQCfa3pW
kmxAjxogTMhOklR7jzdU67s=
=sW+q
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.1949
diff -u -b -B -r1.1949 ChangeLog
--- ChangeLog	17 Jun 2003 12:07:56 -0000	1.1949
+++ ChangeLog	17 Jun 2003 12:55:54 -0000
@@ -1,5 +1,10 @@
 2003-06-17  Michael Koch  <konqueror@gmx.de>
 
+	* gnu/java/security/x509/X509Certificate.java:
+	Explicitely import used classes.
+
+2003-06-17  Michael Koch  <konqueror@gmx.de>
+
 	* java/util/zip/ZipEntry.java,
 	java/util/zip/ZipFile.java,
 	java/util/zip/ZipInputStream.java,
Index: gnu/java/security/x509/X509Certificate.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/java/security/x509/X509Certificate.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 X509Certificate.java
--- gnu/java/security/x509/X509Certificate.java	30 Apr 2003 07:23:41 -0000	1.1
+++ gnu/java/security/x509/X509Certificate.java	17 Jun 2003 12:55:54 -0000
@@ -41,10 +41,13 @@
 import java.io.ByteArrayInputStream;
 import java.io.InputStream;
 import java.io.IOException;
+import java.io.ObjectStreamException;
 import java.io.Serializable;
 
 import java.math.BigInteger;
 
+import java.net.InetAddress;
+
 import java.security.AlgorithmParameters;
 import java.security.InvalidKeyException;
 import java.security.KeyFactory;
@@ -421,7 +424,7 @@
     return subjectKey;
   }
 
-  public Object writeReplace() throws java.io.ObjectStreamException
+  public Object writeReplace() throws ObjectStreamException
   {
     return super.writeReplace();
   }
@@ -469,7 +472,7 @@
                   nameVal = new String((byte[]) name.getValue());
                   break;
                 case IP_ADDRESS:
-                  nameVal = java.net.InetAddress.getByAddress(
+                  nameVal = InetAddress.getByAddress(
                     (byte[]) name.getValue()).getHostAddress();
                   break;
                 case REGISTERED_ID:

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