< prev index next >
src/java.base/share/classes/java/lang/module/ModuleReference.java
Print this page
*** 42,51 ****
--- 42,52 ----
* modular JAR file.
*
* @see ModuleFinder
* @see ModuleReader
* @since 9
+ * @spec JPMS
*/
public abstract class ModuleReference {
private final ModuleDescriptor descriptor;
*** 74,84 ****
}
/**
* Returns the location of this module's content, if known.
*
! * <p> This URI, when present, is used as the {@linkplain
* java.security.CodeSource#getLocation location} value of a {@link
* java.security.CodeSource CodeSource} so that a module's classes can be
* granted specific permissions when loaded by a {@link
* java.security.SecureClassLoader SecureClassLoader}.
*
--- 75,85 ----
}
/**
* Returns the location of this module's content, if known.
*
! * <p> This URI, when present, can be used as the {@linkplain
* java.security.CodeSource#getLocation location} value of a {@link
* java.security.CodeSource CodeSource} so that a module's classes can be
* granted specific permissions when loaded by a {@link
* java.security.SecureClassLoader SecureClassLoader}.
*
< prev index next >