< prev index next >
src/java.base/share/classes/java/lang/Class.java
Print this page
@@ -403,11 +403,11 @@
Class<?> caller)
throws ClassNotFoundException;
/**
- * Returns the {@code Class} with the given <a href="ClassLoader.html#name">
+ * Returns the {@code Class} with the given <a href="ClassLoader.html#binary-name">
* binary name</a> in the given module.
*
* <p> This method attempts to locate, load, and link the class or interface.
* It does not run the class initializer. If the class is not found, this
* method returns {@code null}. </p>
@@ -425,11 +425,11 @@
* the {@link #forName(String, boolean, ClassLoader)} method.
* The security check is a stack-based permission check if the caller
* loads a class in another module.
*
* @param module A module
- * @param name The <a href="ClassLoader.html#name">binary name</a>
+ * @param name The <a href="ClassLoader.html#binary-name">binary name</a>
* of the class
* @return {@code Class} object of the given name defined in the given module;
* {@code null} if not found.
*
* @throws NullPointerException if the given module or name is {@code null}
< prev index next >