[Patch] java.lang.ClassLoader
Michael Koch
konqueror@gmx.de
Sun Sep 26 13:09:00 GMT 2004
Hi list,
I just commited the attached patch to merge java.lang.ClassLoader with
GNU classpath again.
Michael
2004-09-24 Tom Tromey <tromey@redhat.com>
* java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
(definedPackages): Likewise.
-------------- next part --------------
Index: java/lang/ClassLoader.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/ClassLoader.java,v
retrieving revision 1.33
diff -u -r1.33 ClassLoader.java
--- java/lang/ClassLoader.java 3 May 2004 19:52:29 -0000 1.33
+++ java/lang/ClassLoader.java 24 Sep 2004 11:24:38 -0000
@@ -1,5 +1,5 @@
/* ClassLoader.java -- responsible for loading classes into the VM
- Copyright (C) 1998, 1999, 2001, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -122,13 +122,13 @@
* is not private in order to allow native code (and trusted subclasses)
* access to this field.
*/
- final Map loadedClasses = new HashMap();
+ final HashMap loadedClasses = new HashMap();
/**
* All packages defined by this classloader. It is not private in order to
* allow native code (and trusted subclasses) access to this field.
*/
- final Map definedPackages = new HashMap();
+ final HashMap definedPackages = new HashMap();
/**
* The classloader that is consulted before this classloader.
More information about the Java-patches
mailing list