From 25a42e445eb0d12841b10bd10bb581f7dbac2c3f Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 7 Jan 2005 22:15:46 +0000 Subject: [PATCH] * java/lang/ClassLoader.java (findClass): Fixed documentation. From-SVN: r93069 --- libjava/ChangeLog | 4 ++++ libjava/java/lang/ClassLoader.java | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index f60f481317c..160dce07231 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2005-01-06 Tom Tromey + + * java/lang/ClassLoader.java (findClass): Fixed documentation. + 2005-01-07 Michael Koch PR libgcj/18115 diff --git a/libjava/java/lang/ClassLoader.java b/libjava/java/lang/ClassLoader.java index 648afca5435..71f41c1cf1b 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, ...);