diff options
author | Tom Tromey <tromey@redhat.com> | 2004-09-24 11:25:42 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2004-09-24 11:25:42 +0000 |
commit | 667196047f7e88272ed5ec52554b8703759113b5 (patch) | |
tree | 73cab4d478a202c57550f3dca21cb50534025c2e /libjava | |
parent | 07a8bdf810ac5dba4ad7d287b95c907faab88a77 (diff) | |
download | gcc-667196047f7e88272ed5ec52554b8703759113b5.zip gcc-667196047f7e88272ed5ec52554b8703759113b5.tar.gz gcc-667196047f7e88272ed5ec52554b8703759113b5.tar.bz2 |
ClassLoader.java (loadedClasses): Declare as HashMap.
2004-09-24 Tom Tromey <tromey@redhat.com>
* java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
(definedPackages): Likewise.
From-SVN: r88027
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/java/lang/ClassLoader.java | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index b820fd8..107a673 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2004-09-24 Tom Tromey <tromey@redhat.com> + + * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap. + (definedPackages): Likewise. + 2004-09-24 Michael Koch <konqueror@gmx.de> * java/io/ObjectInputStream.java: diff --git a/libjava/java/lang/ClassLoader.java b/libjava/java/lang/ClassLoader.java index 60d7a7f..75f0716 100644 --- a/libjava/java/lang/ClassLoader.java +++ b/libjava/java/lang/ClassLoader.java @@ -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 @@ public abstract class ClassLoader * 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. |