mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8255262: Remove use of legacy custom @spec tag
Reviewed-by: lancea, mr, iris, alanb, darcy, mchung
This commit is contained in:
parent
a0b687bfb2
commit
0aa3c92577
69 changed files with 0 additions and 209 deletions
|
@ -520,7 +520,6 @@ public final class Class<T> implements java.io.Serializable,
|
|||
* @jls 12.2 Loading of Classes and Interfaces
|
||||
* @jls 12.3 Linking of Classes and Interfaces
|
||||
* @since 9
|
||||
* @spec JPMS
|
||||
*/
|
||||
@CallerSensitive
|
||||
public static Class<?> forName(Module module, String name) {
|
||||
|
@ -918,7 +917,6 @@ public final class Class<T> implements java.io.Serializable,
|
|||
* @return the module that this class or interface is a member of
|
||||
*
|
||||
* @since 9
|
||||
* @spec JPMS
|
||||
*/
|
||||
public Module getModule() {
|
||||
return module;
|
||||
|
@ -1034,7 +1032,6 @@ public final class Class<T> implements java.io.Serializable,
|
|||
*
|
||||
* @return the package of this class.
|
||||
* @revised 9
|
||||
* @spec JPMS
|
||||
*/
|
||||
public Package getPackage() {
|
||||
if (isPrimitive() || isArray()) {
|
||||
|
@ -1069,7 +1066,6 @@ public final class Class<T> implements java.io.Serializable,
|
|||
* @return the fully qualified package name
|
||||
*
|
||||
* @since 9
|
||||
* @spec JPMS
|
||||
* @jls 6.7 Fully Qualified Names
|
||||
*/
|
||||
public String getPackageName() {
|
||||
|
@ -2765,7 +2761,6 @@ public final class Class<T> implements java.io.Serializable,
|
|||
* @see Module#getResourceAsStream(String)
|
||||
* @since 1.1
|
||||
* @revised 9
|
||||
* @spec JPMS
|
||||
*/
|
||||
@CallerSensitive
|
||||
public InputStream getResourceAsStream(String name) {
|
||||
|
@ -2862,7 +2857,6 @@ public final class Class<T> implements java.io.Serializable,
|
|||
* @throws NullPointerException If {@code name} is {@code null}
|
||||
* @since 1.1
|
||||
* @revised 9
|
||||
* @spec JPMS
|
||||
*/
|
||||
@CallerSensitive
|
||||
public URL getResource(String name) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue