diff --git a/src/java.base/share/classes/java/lang/classfile/attribute/CharacterRangeTableAttribute.java b/src/java.base/share/classes/java/lang/classfile/attribute/CharacterRangeTableAttribute.java index 119b94528d9..49168ed99f8 100644 --- a/src/java.base/share/classes/java/lang/classfile/attribute/CharacterRangeTableAttribute.java +++ b/src/java.base/share/classes/java/lang/classfile/attribute/CharacterRangeTableAttribute.java @@ -62,15 +62,14 @@ import jdk.internal.classfile.impl.UnboundAttribute; * attribute instance in the built {@code Code} attribute. *

* This attribute is not predefined in the Java SE Platform. This is a - * JDK-specific nonstandard attribute produced by the {@linkplain jdk.compiler/ - * implementation of the system Java compiler}. + * JDK-specific nonstandard attribute produced by the reference implementation + * of the system Java compiler, defined by the {@code jdk.compiler} module. * * @see Attributes#characterRangeTable() * @see CompilationIDAttribute * @see SourceIDAttribute * @since 24 */ -@SuppressWarnings("doclint:reference") public sealed interface CharacterRangeTableAttribute extends Attribute permits BoundAttribute.BoundCharacterRangeTableAttribute, diff --git a/src/java.base/share/classes/java/lang/classfile/attribute/CompilationIDAttribute.java b/src/java.base/share/classes/java/lang/classfile/attribute/CompilationIDAttribute.java index 9a77157ff80..f3cbce227c3 100644 --- a/src/java.base/share/classes/java/lang/classfile/attribute/CompilationIDAttribute.java +++ b/src/java.base/share/classes/java/lang/classfile/attribute/CompilationIDAttribute.java @@ -45,15 +45,14 @@ import jdk.internal.classfile.impl.UnboundAttribute; * data dependency on the {@linkplain AttributeStability#CP_REFS constant pool}. *

* This attribute is not predefined in the Java SE Platform. This is a - * JDK-specific nonstandard attribute produced by the {@linkplain jdk.compiler/ - * implementation of the system Java compiler}. + * JDK-specific nonstandard attribute produced by the reference implementation + * of the system Java compiler, defined by the {@code jdk.compiler} module. * * @see Attributes#compilationId() * @see CharacterRangeTableAttribute * @see SourceIDAttribute * @since 24 */ -@SuppressWarnings("doclint:reference") public sealed interface CompilationIDAttribute extends Attribute, ClassElement permits BoundAttribute.BoundCompilationIDAttribute, diff --git a/src/java.base/share/classes/java/lang/classfile/attribute/DeprecatedAttribute.java b/src/java.base/share/classes/java/lang/classfile/attribute/DeprecatedAttribute.java index bf8759f788f..89a0394388c 100644 --- a/src/java.base/share/classes/java/lang/classfile/attribute/DeprecatedAttribute.java +++ b/src/java.base/share/classes/java/lang/classfile/attribute/DeprecatedAttribute.java @@ -45,16 +45,15 @@ import jdk.internal.classfile.impl.UnboundAttribute; * When this attribute is present, the {@link Deprecated} annotation should * also be present in the {@link RuntimeVisibleAnnotationsAttribute * RuntimeVisibleAnnotations} attribute to provide more obvious alerts. - * The {@linkplain jdk.compiler/ implementation of the system Java compiler} - * emits this attribute without the annotation when a {@code @deprecated} tag - * is present in the documentation comments without the annotation. + * The reference implementation of the system Java compiler emits this attribute + * without the annotation when a {@code @deprecated} tag is present in the + * documentation comments without the annotation. * * @see Attributes#deprecated() * @see Deprecated * @jvms 4.7.15 The {@code Deprecated} Attribute * @since 24 */ -@SuppressWarnings("doclint:reference") public sealed interface DeprecatedAttribute extends Attribute, ClassElement, MethodElement, FieldElement diff --git a/src/java.base/share/classes/java/lang/classfile/attribute/ModuleHashesAttribute.java b/src/java.base/share/classes/java/lang/classfile/attribute/ModuleHashesAttribute.java index 3312f2eae35..11c016aa9e1 100644 --- a/src/java.base/share/classes/java/lang/classfile/attribute/ModuleHashesAttribute.java +++ b/src/java.base/share/classes/java/lang/classfile/attribute/ModuleHashesAttribute.java @@ -70,15 +70,14 @@ import jdk.internal.classfile.impl.UnboundAttribute; * data dependency on the {@linkplain AttributeStability#CP_REFS constant pool}. *

* This attribute is not predefined in the Java SE Platform. This is a - * JDK-specific nonstandard attribute produced by the {@linkplain jdk.jlink/ - * jlink and jmod tools} and used by the implementation. + * JDK-specific nonstandard attribute produced by the {@code jdk.jlink} module, + * which defines the {@code jlink} and {@code jmod} tools. * * @see Attributes#moduleHashes() * @see ModuleResolutionAttribute * @see ModuleTargetAttribute * @since 24 */ -@SuppressWarnings("doclint:reference") public sealed interface ModuleHashesAttribute extends Attribute, ClassElement permits BoundAttribute.BoundModuleHashesAttribute, UnboundAttribute.UnboundModuleHashesAttribute { diff --git a/src/java.base/share/classes/java/lang/classfile/attribute/ModuleResolutionAttribute.java b/src/java.base/share/classes/java/lang/classfile/attribute/ModuleResolutionAttribute.java index 2977a293396..75e9ca485ff 100644 --- a/src/java.base/share/classes/java/lang/classfile/attribute/ModuleResolutionAttribute.java +++ b/src/java.base/share/classes/java/lang/classfile/attribute/ModuleResolutionAttribute.java @@ -65,15 +65,14 @@ import jdk.internal.classfile.impl.UnboundAttribute; * {@linkplain AttributeStability#STATELESS no data dependency}. *

* This attribute is not predefined in the Java SE Platform. This is a - * JDK-specific nonstandard attribute produced by the {@linkplain jdk.jlink/ - * jlink and jmod tools} and used by the implementation. + * JDK-specific nonstandard attribute produced by the {@code jdk.jlink} module, + * which defines the {@code jlink} and {@code jmod} tools. * * @see Attributes#moduleResolution() * @see ModuleHashesAttribute * @see ModuleTargetAttribute * @since 24 */ -@SuppressWarnings("doclint:reference") public sealed interface ModuleResolutionAttribute extends Attribute, ClassElement permits BoundAttribute.BoundModuleResolutionAttribute, UnboundAttribute.UnboundModuleResolutionAttribute { diff --git a/src/java.base/share/classes/java/lang/classfile/attribute/ModuleTargetAttribute.java b/src/java.base/share/classes/java/lang/classfile/attribute/ModuleTargetAttribute.java index 2ef19cba932..6d727db6851 100644 --- a/src/java.base/share/classes/java/lang/classfile/attribute/ModuleTargetAttribute.java +++ b/src/java.base/share/classes/java/lang/classfile/attribute/ModuleTargetAttribute.java @@ -60,15 +60,14 @@ import jdk.internal.classfile.impl.UnboundAttribute; * data dependency on the {@linkplain AttributeStability#CP_REFS constant pool}. *

* This attribute is not predefined in the Java SE Platform. This is a - * JDK-specific nonstandard attribute produced by the {@linkplain jdk.jlink/ - * jlink and jmod tools} and used by the implementation. + * JDK-specific nonstandard attribute produced by the {@code jdk.jlink} module, + * which defines the {@code jlink} and {@code jmod} tools. * * @see Attributes#moduleTarget() * @see ModuleHashesAttribute * @see ModuleResolutionAttribute * @since 24 */ -@SuppressWarnings("doclint:reference") public sealed interface ModuleTargetAttribute extends Attribute, ClassElement permits BoundAttribute.BoundModuleTargetAttribute, UnboundAttribute.UnboundModuleTargetAttribute { diff --git a/src/java.base/share/classes/java/lang/classfile/attribute/SourceIDAttribute.java b/src/java.base/share/classes/java/lang/classfile/attribute/SourceIDAttribute.java index b25e75d9aba..b7d2e3cf9b7 100644 --- a/src/java.base/share/classes/java/lang/classfile/attribute/SourceIDAttribute.java +++ b/src/java.base/share/classes/java/lang/classfile/attribute/SourceIDAttribute.java @@ -46,15 +46,14 @@ import jdk.internal.classfile.impl.UnboundAttribute; * data dependency on the {@linkplain AttributeStability#CP_REFS constant pool}. *

* This attribute is not predefined in the Java SE Platform. This is a - * JDK-specific nonstandard attribute produced by the {@linkplain jdk.compiler/ - * implementation of the system Java compiler}. + * JDK-specific nonstandard attribute produced by the reference implementation + * of the system Java compiler, defined by the {@code jdk.compiler} module. * * @see Attributes#sourceId() * @see CompilationIDAttribute * @see CharacterRangeTableAttribute * @since 24 */ -@SuppressWarnings("doclint:reference") public sealed interface SourceIDAttribute extends Attribute, ClassElement permits BoundAttribute.BoundSourceIDAttribute, UnboundAttribute.UnboundSourceIDAttribute {