[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: fix for URL constructor and null parameter

Kaffe CVS cvs-commits at kaffe.org
Fri Nov 26 12:55:08 PST 2004


PatchSet 5490 
Date: 2004/11/26 20:50:40
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: fix for URL constructor and null parameter

2004-11-26  Dalibor Topic  <robilad at kaffe.org>

        * libraries/javalib/java/net/URL.java:
        Resynced with GNU Classpath.

        2004-11-17  Michael Koch  <konqueror at gmx.de>

        * java/net/URL.java (URL): Handle case when argument is null.

Members: 
	ChangeLog:1.3036->1.3037 
	libraries/javalib/java/net/URL.java:1.49->1.50 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3036 kaffe/ChangeLog:1.3037
--- kaffe/ChangeLog:1.3036	Fri Nov 26 18:53:41 2004
+++ kaffe/ChangeLog	Fri Nov 26 20:50:40 2004
@@ -1,5 +1,14 @@
 2004-11-26  Dalibor Topic  <robilad at kaffe.org>
 
+	* libraries/javalib/java/net/URL.java:
+        Resynced with GNU Classpath.
+
+	2004-11-17  Michael Koch  <konqueror at gmx.de>
+
+        * java/net/URL.java (URL): Handle case when argument is null.
+
+2004-11-26  Dalibor Topic  <robilad at kaffe.org>
+
 	* libraries/javalib/java/beans/Beans.java,
 	libraries/javalib/java/beans/PropertyChangeEvent.java,
 	libraries/javalib/java/beans/PropertyEditorSupport.java:
Index: kaffe/libraries/javalib/java/net/URL.java
diff -u kaffe/libraries/javalib/java/net/URL.java:1.49 kaffe/libraries/javalib/java/net/URL.java:1.50
--- kaffe/libraries/javalib/java/net/URL.java:1.49	Sat Oct 16 13:31:00 2004
+++ kaffe/libraries/javalib/java/net/URL.java	Fri Nov 26 20:50:43 2004
@@ -321,7 +321,7 @@
    */
   public URL(String spec) throws MalformedURLException
   {
-    this((URL) null, spec, (URLStreamHandler) null);
+    this((URL) null, spec != null ? spec : "", (URLStreamHandler) null);
   }
 
   /**




More information about the kaffe mailing list