diff options
author | Tom Tromey <tromey@redhat.com> | 2005-01-07 22:15:46 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2005-01-07 22:15:46 +0000 |
commit | 25a42e445eb0d12841b10bd10bb581f7dbac2c3f (patch) | |
tree | 20eb37a91b605db9c3cbfd6d15991dfbf218256a /libjava | |
parent | b827788f5768220700c66beaee6a66586014f07f (diff) | |
download | gcc-25a42e445eb0d12841b10bd10bb581f7dbac2c3f.zip gcc-25a42e445eb0d12841b10bd10bb581f7dbac2c3f.tar.gz gcc-25a42e445eb0d12841b10bd10bb581f7dbac2c3f.tar.bz2 |
* java/lang/ClassLoader.java (findClass): Fixed documentation.
From-SVN: r93069
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 4 | ||||
-rw-r--r-- | libjava/java/lang/ClassLoader.java | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index f60f481..160dce0 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2005-01-06 Tom Tromey <tromey@redhat.com> + + * java/lang/ClassLoader.java (findClass): Fixed documentation. + 2005-01-07 Michael Koch <konqueror@gmx.de> PR libgcj/18115 diff --git a/libjava/java/lang/ClassLoader.java b/libjava/java/lang/ClassLoader.java index 648afca..71f41c1 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, 2004 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -348,7 +348,7 @@ public abstract class ClassLoader * { * String packageName = name.substring(0, lastDot); * // Look if the package already exists - * if (getPackage(pkg) == null) + * if (getPackage(packageName) == null) * { * // define the package * definePackage(packageName, ...); |