From 667196047f7e88272ed5ec52554b8703759113b5 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 24 Sep 2004 11:25:42 +0000 Subject: [PATCH] ClassLoader.java (loadedClasses): Declare as HashMap. 2004-09-24 Tom Tromey * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap. (definedPackages): Likewise. From-SVN: r88027 --- libjava/ChangeLog | 5 +++++ libjava/java/lang/ClassLoader.java | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index b820fd80487..107a673c3e3 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2004-09-24 Tom Tromey + + * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap. + (definedPackages): Likewise. + 2004-09-24 Michael Koch * java/io/ObjectInputStream.java: diff --git a/libjava/java/lang/ClassLoader.java b/libjava/java/lang/ClassLoader.java index 60d7a7f9e02..75f07169f39 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. -- 2.30.2