Hi,

I ran into a few small bugs. Attached is the patch file. Please apply if
they're OK.

Change Log

* java/lang/Class.java
(forName(String,boolean,ClassLoader)): call
ClassLoader.loadClass(String) instead of ClassLoader.loadClass(String,
boolean). There are ClassLoader subclasses out there that override
loadClass(String) instead of loadClass(String, boolean).

* java/net/URLClassLoader.java
(JarURLLoader.getResource): strip leading / from resource name
(addURL): moved implementation to the new addURLImpl and changed to call
new addURLImpl
(addURLImpl): new
(addURLs): call addURLImpl instead of addURL. This was done to be
compatible with Sun's implementation which doesn't call addURL for the
initial list of URLs passed in the constructor.

* java/util/zip/ZipFile.java
(finalize): added raf != null test. If construction fails, raf will be
null.

Regards,
Jeroen

Attachment: 20030605.patch
Description: 20030605.patch

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to