mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8339631: Fix block @jls and @jvms tags
Reviewed-by: liach, darcy, jjg
This commit is contained in:
parent
615a24f216
commit
88cccc14db
22 changed files with 53 additions and 53 deletions
|
@ -1247,7 +1247,7 @@ public final class Class<T> implements java.io.Serializable,
|
|||
* @return the fully qualified package name
|
||||
*
|
||||
* @since 9
|
||||
* @jls 6.7 Fully Qualified Names
|
||||
* @jls 6.7 Fully Qualified Names and Canonical Names
|
||||
*/
|
||||
public String getPackageName() {
|
||||
String pn = this.packageName;
|
||||
|
@ -1460,7 +1460,7 @@ public final class Class<T> implements java.io.Serializable,
|
|||
* programming language and JVM modeling in core reflection</a>
|
||||
* @since 1.1
|
||||
* @jls 8.1.1 Class Modifiers
|
||||
* @jls 9.1.1. Interface Modifiers
|
||||
* @jls 9.1.1 Interface Modifiers
|
||||
* @jvms 4.1 The {@code ClassFile} Structure
|
||||
*/
|
||||
@IntrinsicCandidate
|
||||
|
@ -1994,7 +1994,7 @@ public final class Class<T> implements java.io.Serializable,
|
|||
*
|
||||
* @return {@code true} if and only if this class is a local class.
|
||||
* @since 1.5
|
||||
* @jls 14.3 Local Class Declarations
|
||||
* @jls 14.3 Local Class and Interface Declarations
|
||||
*/
|
||||
public boolean isLocalClass() {
|
||||
return isLocalOrAnonymousClass() &&
|
||||
|
@ -2007,7 +2007,7 @@ public final class Class<T> implements java.io.Serializable,
|
|||
*
|
||||
* @return {@code true} if and only if this class is a member class.
|
||||
* @since 1.5
|
||||
* @jls 8.5 Member Type Declarations
|
||||
* @jls 8.5 Member Class and Interface Declarations
|
||||
*/
|
||||
public boolean isMemberClass() {
|
||||
return !isLocalOrAnonymousClass() && getDeclaringClass0() != null;
|
||||
|
@ -2544,7 +2544,7 @@ public final class Class<T> implements java.io.Serializable,
|
|||
* </ul>
|
||||
*
|
||||
* @since 1.1
|
||||
* @jls 8.5 Member Type Declarations
|
||||
* @jls 8.5 Member Class and Interface Declarations
|
||||
*/
|
||||
@CallerSensitive
|
||||
public Class<?>[] getDeclaredClasses() throws SecurityException {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2019, Azul Systems, Inc. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
|
@ -223,7 +223,7 @@ import sun.security.util.SecurityConstants;
|
|||
* or a fully qualified name as defined by
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*
|
||||
* @jls 6.7 Fully Qualified Names
|
||||
* @jls 6.7 Fully Qualified Names and Canonical Names
|
||||
* @jls 13.1 The Form of a Binary
|
||||
* @see #resolveClass(Class)
|
||||
* @since 1.0
|
||||
|
|
|
@ -344,8 +344,8 @@ import jdk.internal.vm.annotation.IntrinsicCandidate;
|
|||
* 754 floating-point arithmetic follows a principled design and its
|
||||
* behavior is predictable on the Java platform.
|
||||
*
|
||||
* @jls 4.2.3 Floating-Point Types, Formats, and Values
|
||||
* @jls 4.2.4. Floating-Point Operations
|
||||
* @jls 4.2.3 Floating-Point Types and Values
|
||||
* @jls 4.2.4 Floating-Point Operations
|
||||
* @jls 15.21.1 Numerical Equality Operators == and !=
|
||||
* @jls 15.20.1 Numerical Comparison Operators {@code <}, {@code <=}, {@code >}, and {@code >=}
|
||||
*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -84,7 +84,7 @@ package java.lang;
|
|||
* See {@link Class#isRecord()} and {@link Class#getRecordComponents()} for more details.
|
||||
*
|
||||
* @spec serialization/index.html Java Object Serialization Specification
|
||||
* @jls 8.10 Record Types
|
||||
* @jls 8.10 Record Classes
|
||||
* @since 16
|
||||
*/
|
||||
public abstract class Record {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -170,7 +170,7 @@ public final class StackWalker {
|
|||
*
|
||||
* @see MethodType#fromMethodDescriptorString(String, ClassLoader)
|
||||
* @see MethodType#toMethodDescriptorString()
|
||||
* @jvms 4.3.3 Method Descriptor
|
||||
* @jvms 4.3.3 Method Descriptors
|
||||
*
|
||||
* @since 10
|
||||
*/
|
||||
|
|
|
@ -51,7 +51,7 @@ public sealed interface PackageDesc
|
|||
* @throws NullPointerException if the argument is {@code null}
|
||||
* @throws IllegalArgumentException if the name string is not in the
|
||||
* correct format
|
||||
* @jls 6.5.3 Module Names and Package Names
|
||||
* @jls 6.5.3 Meaning of Module Names and Package Names
|
||||
* @see PackageDesc#ofInternalName(String)
|
||||
*/
|
||||
static PackageDesc of(String name) {
|
||||
|
|
|
@ -2206,7 +2206,7 @@ public class MethodHandles {
|
|||
* @jvms 5.3.5 Deriving a {@code Class} from a {@code class} File Representation
|
||||
* @jvms 5.4 Linking
|
||||
* @jvms 5.5 Initialization
|
||||
* @jls 12.7 Unloading of Classes and Interface
|
||||
* @jls 12.7 Unloading of Classes and Interfaces
|
||||
*/
|
||||
public Lookup defineHiddenClassWithClassData(byte[] bytes, Object classData, boolean initialize, ClassOption... options)
|
||||
throws IllegalAccessException
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -528,7 +528,7 @@ public enum AccessFlag {
|
|||
|
||||
/**
|
||||
* Method location.
|
||||
* @jvms 4.6 Method
|
||||
* @jvms 4.6 Methods
|
||||
*/
|
||||
METHOD,
|
||||
|
||||
|
@ -540,31 +540,31 @@ public enum AccessFlag {
|
|||
|
||||
/**
|
||||
* Method parameter location.
|
||||
* @jvms 4.7.24. The MethodParameters Attribute
|
||||
* @jvms 4.7.24 The MethodParameters Attribute
|
||||
*/
|
||||
METHOD_PARAMETER,
|
||||
|
||||
/**
|
||||
* Module location
|
||||
* @jvms 4.7.25. The Module Attribute
|
||||
* @jvms 4.7.25 The Module Attribute
|
||||
*/
|
||||
MODULE,
|
||||
|
||||
/**
|
||||
* Module requires location
|
||||
* @jvms 4.7.25. The Module Attribute
|
||||
* @jvms 4.7.25 The Module Attribute
|
||||
*/
|
||||
MODULE_REQUIRES,
|
||||
|
||||
/**
|
||||
* Module exports location
|
||||
* @jvms 4.7.25. The Module Attribute
|
||||
* @jvms 4.7.25 The Module Attribute
|
||||
*/
|
||||
MODULE_EXPORTS,
|
||||
|
||||
/**
|
||||
* Module opens location
|
||||
* @jvms 4.7.25. The Module Attribute
|
||||
* @jvms 4.7.25 The Module Attribute
|
||||
*/
|
||||
MODULE_OPENS;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1999, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -254,7 +254,7 @@ public interface InvocationHandler {
|
|||
* @throws Throwable anything thrown by the default method
|
||||
|
||||
* @since 16
|
||||
* @jvms 5.4.3. Method Resolution
|
||||
* @jvms 5.4.3 Resolution
|
||||
*/
|
||||
@CallerSensitive
|
||||
public static Object invokeDefault(Object proxy, Method method, Object... args)
|
||||
|
|
|
@ -755,7 +755,7 @@ public final class Method extends Executable {
|
|||
* {@link Class} and no definition can be found for the
|
||||
* default class value.
|
||||
* @since 1.5
|
||||
* @jls 9.6.2 Defaults for Annotation Type Elements
|
||||
* @jls 9.6.2 Defaults for Annotation Interface Elements
|
||||
*/
|
||||
public Object getDefaultValue() {
|
||||
if (annotationDefault == null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue