diff options
author | Michael Koch <konqueror@gmx.de> | 2004-04-20 12:30:19 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2004-04-20 12:30:19 +0000 |
commit | cf6f7d55897e0c6b1badbcfc241e512a4bb154b8 (patch) | |
tree | d5b22b275323c4e4a0c6ebb05e86b4a087ef279d /libjava/java/lang/ClassLoader.java | |
parent | 9f714d5eec05594569dd89920353272606622d8a (diff) | |
download | gcc-cf6f7d55897e0c6b1badbcfc241e512a4bb154b8.zip gcc-cf6f7d55897e0c6b1badbcfc241e512a4bb154b8.tar.gz gcc-cf6f7d55897e0c6b1badbcfc241e512a4bb154b8.tar.bz2 |
Byte.java, [...]: Fixed javadocs, coding style and argument names all over.
2004-04-20 Michael Koch <konqueror@gmx.de>
* java/lang/Byte.java,
java/lang/CharSequence.java,
java/lang/ClassLoader.java,
java/lang/Compiler.java,
java/lang/Double.java,
java/lang/Float.java,
java/lang/Integer.java,
java/lang/Long.java,
java/lang/Math.java,
java/lang/Number.java,
java/lang/Package.java,
java/lang/Runtime.java,
java/lang/RuntimePermission.java,
java/lang/SecurityManager.java,
java/lang/Short.java,
java/lang/StringBuffer.java,
java/lang/System.java,
java/lang/ThreadGroup.java,
java/lang/Throwable.java,
java/lang/reflect/InvocationHandler.java,
java/lang/reflect/Proxy.java:
Fixed javadocs, coding style and argument names all over.
From-SVN: r80899
Diffstat (limited to 'libjava/java/lang/ClassLoader.java')
-rw-r--r-- | libjava/java/lang/ClassLoader.java | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libjava/java/lang/ClassLoader.java b/libjava/java/lang/ClassLoader.java index 7bbd641..2b30b1b 100644 --- a/libjava/java/lang/ClassLoader.java +++ b/libjava/java/lang/ClassLoader.java @@ -249,7 +249,7 @@ public abstract class ClassLoader * it. Calls <code>loadClass(name, false)</code>. * * <p>Subclasses should not override this method but should override - * <code>findClass()</code> which is called by this method. + * <code>findClass()</code> which is called by this method.</p> * * @param name the name of the class relative to this ClassLoader * @return the loaded class @@ -266,14 +266,14 @@ public abstract class ClassLoader * out if the class has already been loaded through this classloader by * calling <code>findLoadedClass()</code>. Then it calls * <code>loadClass()</code> on the parent classloader (or when there is - * no parent it uses the VM bootclassloader)</code>). If the class is still + * no parent it uses the VM bootclassloader). If the class is still * not loaded it tries to create a new class by calling * <code>findClass()</code>. Finally when <code>resolve</code> is * <code>true</code> it also calls <code>resolveClass()</code> on the * newly loaded class. * * <p>Subclasses should not override this method but should override - * <code>findClass()</code> which is called by this method. + * <code>findClass()</code> which is called by this method.</p> * * @param name the fully qualified name of the class to load * @param resolve whether or not to resolve the class @@ -384,7 +384,7 @@ public abstract class ClassLoader * <code>findClass()</code> implementation. The name should use '.' * separators, and discard the trailing ".class". The default protection * domain has the permissions of - * <code>Policy.getPolicy().getPermissions(new CodeSource(null, null))<code>. + * <code>Policy.getPolicy().getPermissions(new CodeSource(null, null))</code>. * * @param name the name to give the class, or null if unknown * @param data the data representing the classfile, in classfile format @@ -407,7 +407,7 @@ public abstract class ClassLoader * Helper to define a class using a string of bytes. Subclasses should call * this method from their <code>findClass()</code> implementation. If the * domain is null, the default of - * <code>Policy.getPolicy().getPermissions(new CodeSource(null, null))<code> + * <code>Policy.getPolicy().getPermissions(new CodeSource(null, null))</code> * is used. Once a class has been defined in a package, all further classes * in that package must have the same set of certificates or a * SecurityException is thrown. @@ -475,6 +475,7 @@ public abstract class ClassLoader * <code>null</code>. A security check may be performed on * <code>RuntimePermission("getClassLoader")</code>. * + * @return the parent <code>ClassLoader</code> * @throws SecurityException if the security check fails * @since 1.2 */ @@ -554,13 +555,13 @@ public abstract class ClassLoader * multiple resources with the same name that come from multiple locations. * It can also occur that a parent classloader offers a resource with a * certain name and the child classloader also offers a resource with that - * same name. <code>getResource() only offers the first resource (of the + * same name. <code>getResource()</code> only offers the first resource (of the * parent) with a given name. This method lists all resources with the * same name. The name should use '/' as path separators. * * <p>The Enumeration is created by first calling <code>getResources()</code> * on the parent classloader and then calling <code>findResources()</code> - * on this classloader. + * on this classloader.</p> * * @param name the resource name * @return an enumaration of all resources found |