8347762: ClassFile attribute specification refers to non-SE modules

Reviewed-by: darcy, dholmes
This commit is contained in:
Chen Liang 2025-01-15 05:24:43 +00:00
parent be1cdd9450
commit 28e01e6559
7 changed files with 15 additions and 22 deletions

View file

@ -70,15 +70,14 @@ import jdk.internal.classfile.impl.UnboundAttribute;
* data dependency on the {@linkplain AttributeStability#CP_REFS constant pool}.
* <p>
* 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<ModuleHashesAttribute>, ClassElement
permits BoundAttribute.BoundModuleHashesAttribute, UnboundAttribute.UnboundModuleHashesAttribute {