This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: ClassLoader doc fix
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 07 Jan 2005 15:09:47 -0700
- Subject: Patch: FYI: ClassLoader doc fix
- Reply-to: tromey at redhat dot com
I'm checking this in on the trunk.
This is a small javadoc fix that I put in Classpath yesterday.
Tom
2005-01-06 Tom Tromey <tromey@redhat.com>
* java/lang/ClassLoader.java (findClass): Fixed documentation.
Index: java/lang/ClassLoader.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/ClassLoader.java,v
retrieving revision 1.35
diff -u -r1.35 ClassLoader.java
--- java/lang/ClassLoader.java 25 Nov 2004 03:47:03 -0000 1.35
+++ java/lang/ClassLoader.java 7 Jan 2005 22:12:44 -0000
@@ -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 @@
* {
* 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, ...);