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.net.Inet*Address


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

Hi list,


I commited the attached obvious patch to fix the access of the 
constructors of twi classes in java.net.


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

iD8DBQE+/GgaWSOgCCdjSDsRAmpsAKChwh7YvWAmGoyF6xIIg67h/2pEoACggXny
ZxmiFQTiBJo/31PHQGXFdpE=
=w38f
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.2001
diff -u -b -B -r1.2001 ChangeLog
--- ChangeLog	27 Jun 2003 13:41:25 -0000	1.2001
+++ ChangeLog	27 Jun 2003 15:45:31 -0000
@@ -1,5 +1,12 @@
 2003-06-27  Michael Koch  <konqueror@gmx.de>
 
+	* java/net/Inet4Address.java
+	(Inet4Address): Made package-private.
+	* java/net/Inet6Address.java
+	(Inet4Address): Made package-private.
+
+2003-06-27  Michael Koch  <konqueror@gmx.de>
+
 	* gnu/java/nio/FileChannelImpl.java
 	(write): Removed.
 
Index: java/net/Inet4Address.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/Inet4Address.java,v
retrieving revision 1.4
diff -u -b -B -r1.4 Inet4Address.java
--- java/net/Inet4Address.java	19 Jun 2003 15:08:22 -0000	1.4
+++ java/net/Inet4Address.java	27 Jun 2003 15:45:31 -0000
@@ -72,7 +72,7 @@
    * @param addr The IP address
    * @param host The Hostname
    */
-  protected Inet4Address(byte[] addr, String host)
+  Inet4Address(byte[] addr, String host)
   {
     super (addr, host);
   }
Index: java/net/Inet6Address.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/Inet6Address.java,v
retrieving revision 1.4
diff -u -b -B -r1.4 Inet6Address.java
--- java/net/Inet6Address.java	19 Jun 2003 15:08:22 -0000	1.4
+++ java/net/Inet6Address.java	27 Jun 2003 15:45:31 -0000
@@ -66,7 +66,7 @@
    * @param addr The IP address
    * @param host The hostname
    */
-  protected Inet6Address (byte[] addr, String host)
+  Inet6Address (byte[] addr, String host)
   {
     super (addr, host);
     this.ipaddress = addr;

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