[kaffe] CVS kaffe (guilhem): KJC update + Code cleanup + DNSJava binding + HTTP fixes

Kaffe CVS cvs-commits at kaffe.org
Tue Dec 23 12:22:01 PST 2003


PatchSet 4234 
Date: 2003/12/23 20:18:40
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
KJC update + Code cleanup + DNSJava binding + HTTP fixes

Members: 
	ChangeLog:1.1823->1.1824 
	libraries/javalib/Makefile.am:1.149->1.150 
	libraries/javalib/Makefile.am.in:1.6->1.7 
	libraries/javalib/Makefile.in:1.200->1.201 
	libraries/javalib/kjc.jar:1.26->1.27 
	libraries/javalib/gnu/java/net/DNSJavaInetAddressImpl.java:INITIAL->1.1 
	libraries/javalib/gnu/java/net/protocol/http/Connection.java:1.2->1.3 
	libraries/javalib/gnu/java/net/protocol/jar/Handler.java:1.2->1.3 
	libraries/javalib/java/io/ObjectInputStream.java:1.27->1.28 
	libraries/javalib/java/io/ObjectOutputStream.java:1.18->1.19 
	libraries/javalib/java/net/InetSocketAddress.java:1.8->1.9 
	libraries/javalib/java/text/CollationElementIterator.java:1.9->1.10 
	libraries/javalib/java/text/RuleBasedCollator.java:1.14->1.15 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1823 kaffe/ChangeLog:1.1824
--- kaffe/ChangeLog:1.1823	Tue Dec 23 17:26:20 2003
+++ kaffe/ChangeLog	Tue Dec 23 20:18:40 2003
@@ -1,3 +1,38 @@
+2003-12-23  Guilhem Lavaux <guilhem at kaffe.org>
+
+	* libraries/javalib/kjc.jar: Regenerated a new KJC
+	with latest Ito's patch applied.
+
+	* libraries/javalib/java/text/RuleBasedCollator.java,
+	libraries/javalib/java/text/CollationElementIterator.java,
+	libraries/gnu/java/net/jar/Handler.java:
+	Fixed indentation, added some extra documentation.
+	Simplified the logic (catching NullPointerException
+	is prevented).
+
+	* libraries/javalib/java/io/ObjectOutputStream.java
+	(writeClassDescriptor): Write descriptor about superclass
+	even when it's "External".
+	(callReadMethod): Reset prereadFields to null after having
+	called the read method.
+
+	* libraries/javalib/gnu/java/net/protocol/http/Connection.java
+	(getHeaderField, getHeaderFieldKey): connect() should be call
+	if the connection was not established.
+
+	* libraries/javalib/java/net/InetSocketAddress.java
+	(InetSocketAddress): Don't call getHostName() if addr is IN_ANY.
+
+	* libraries/javalib/gnu/java/net/DNSJavaInetAddressImpl.java:
+	Implemented DNSJava binding (still buggy).
+
+	* libraries/javalib/Makefile.am.in
+	(DNSJAVA_InetAddressImpl): Changed the location of the DNSJava
+	binding implementation.
+
+	* libraries/javalib/Makefile.am, libraries/javalib/Makefile.in:
+	Regenerated.
+
 2003-12-23  Dalibor Topic <robilad at kaffe.org>
 
         * configure.in
Index: kaffe/libraries/javalib/Makefile.am
diff -u kaffe/libraries/javalib/Makefile.am:1.149 kaffe/libraries/javalib/Makefile.am:1.150
--- kaffe/libraries/javalib/Makefile.am:1.149	Fri Dec 12 17:07:04 2003
+++ kaffe/libraries/javalib/Makefile.am	Tue Dec 23 20:18:42 2003
@@ -40,7 +40,7 @@
 toolslib_DATA = kjc.jar
 
 if HAVE_DNSJAVA
-DNSJAVA_InetAddressImpl = java/net/DNSJavaInetAddressImpl.java
+DNSJAVA_InetAddressImpl = gnu/java/net/DNSJavaInetAddressImpl.java
 else
 DNSJAVA_InetAddressImpl =
 endif
@@ -368,6 +368,7 @@
 	gnu/java/locale/LocaleInformation_zh_SG.java \
 	gnu/java/locale/LocaleInformation_zh_TW.java
 gnu_java_net_SRCS = \
+	gnu/java/net/DNSJavaInetAddressImpl.java \
 	gnu/java/net/HeaderFieldHelper.java \
 	gnu/java/net/InetAddressImpl.java \
 	gnu/java/net/PlainDatagramSocketImpl.java \
Index: kaffe/libraries/javalib/Makefile.am.in
diff -u kaffe/libraries/javalib/Makefile.am.in:1.6 kaffe/libraries/javalib/Makefile.am.in:1.7
--- kaffe/libraries/javalib/Makefile.am.in:1.6	Fri Dec 12 17:07:05 2003
+++ kaffe/libraries/javalib/Makefile.am.in	Tue Dec 23 20:18:42 2003
@@ -40,7 +40,7 @@
 toolslib_DATA = kjc.jar
 
 if HAVE_DNSJAVA
-DNSJAVA_InetAddressImpl = java/net/DNSJavaInetAddressImpl.java
+DNSJAVA_InetAddressImpl = gnu/java/net/DNSJavaInetAddressImpl.java
 else
 DNSJAVA_InetAddressImpl =
 endif
Index: kaffe/libraries/javalib/Makefile.in
diff -u kaffe/libraries/javalib/Makefile.in:1.200 kaffe/libraries/javalib/Makefile.in:1.201
--- kaffe/libraries/javalib/Makefile.in:1.200	Tue Dec 23 17:26:56 2003
+++ kaffe/libraries/javalib/Makefile.in	Tue Dec 23 20:18:42 2003
@@ -302,7 +302,7 @@
 jrelib_DATA = rt.jar
 toolslib_DATA = kjc.jar
 @HAVE_DNSJAVA_FALSE at DNSJAVA_InetAddressImpl = 
- at HAVE_DNSJAVA_TRUE@DNSJAVA_InetAddressImpl = java/net/DNSJavaInetAddressImpl.java
+ at HAVE_DNSJAVA_TRUE@DNSJAVA_InetAddressImpl = gnu/java/net/DNSJavaInetAddressImpl.java
 Klasses_jar_SRCS = \
 	$(gnu_classpath_SRCS) \
 	$(gnu_java_awt_SRCS) \
@@ -635,6 +635,7 @@
 	gnu/java/locale/LocaleInformation_zh_TW.java
 
 gnu_java_net_SRCS = \
+	gnu/java/net/DNSJavaInetAddressImpl.java \
 	gnu/java/net/HeaderFieldHelper.java \
 	gnu/java/net/InetAddressImpl.java \
 	gnu/java/net/PlainDatagramSocketImpl.java \
Index: kaffe/libraries/javalib/kjc.jar
cvs rdiff: failed to read diff file header /tmp/cvs9rlSuI for kjc.jar,v: end of file
system command returned non-zero exit status: 1: aborting




More information about the kaffe mailing list