Skip to content

Commit 480094c

Browse files
committed
8366802: [lworld] jdk/javadoc/doccheck/checks/jdkCheckLinks.java fails since jdk-26+26
Reviewed-by: dsimms
1 parent 22e9d5f commit 480094c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/java.base/share/classes/java/lang/classfile/Attributes.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import java.lang.classfile.attribute.*;
2929

3030
import jdk.internal.classfile.impl.AbstractAttributeMapper.*;
31+
import jdk.internal.javac.PreviewFeature;
3132

3233
/**
3334
* Attribute mappers for predefined (JVMS {@jvms 4.7}) and JDK-specific
@@ -250,8 +251,9 @@ public static AttributeMapper<LineNumberTableAttribute> lineNumberTable() {
250251

251252
/**
252253
* {@return Attribute mapper for the {@code LoadableDescriptors} attribute}
253-
* @since 23
254+
* @since Valhalla
254255
*/
256+
@PreviewFeature(feature = PreviewFeature.Feature.VALUE_OBJECTS)
255257
public static AttributeMapper<LoadableDescriptorsAttribute> loadableDescriptors() {
256258
return LoadableDescriptorsMapper.INSTANCE;
257259
}

0 commit comments

Comments
 (0)