< prev index next >

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

Print this page
@@ -52,10 +52,11 @@
  import java.util.function.Consumer;
  import java.util.function.Function;
  
  import jdk.internal.classfile.impl.ClassFileImpl;
  import jdk.internal.classfile.impl.TemporaryConstantPool;
+ import jdk.internal.javac.PreviewFeature;
  
  import static java.util.Objects.requireNonNull;
  import static jdk.internal.constant.ConstantUtils.CD_module_info;
  
  /**

@@ -803,10 +804,18 @@
      int ACC_ANNOTATION = 0x2000;
  
      /** The bit mask of {@link AccessFlag#SUPER} access and property modifier. */
      int ACC_SUPER = 0x0020;
  
+     /**
+      * The bit mask of {@link AccessFlag#IDENTITY} access and property modifier.
+      *
+      * @since 28
+      */
+     @PreviewFeature(feature = PreviewFeature.Feature.VALUE_OBJECTS, reflective = true)
+     int ACC_IDENTITY = 0x0020;
+ 
      /** The bit mask of {@link AccessFlag#ABSTRACT} access and property modifier. */
      int ACC_ABSTRACT = 0x0400;
  
      /** The bit mask of {@link AccessFlag#VOLATILE} access and property modifier. */
      int ACC_VOLATILE = 0x0040;

@@ -836,10 +845,18 @@
      int ACC_NATIVE = 0x0100;
  
      /** The bit mask of {@link AccessFlag#STRICT} access and property modifier. */
      int ACC_STRICT = 0x0800;
  
+     /**
+      * The bit mask of {@link AccessFlag#STRICT_INIT} access and property modifier.
+      *
+      * @since 28
+      */
+     @PreviewFeature(feature = PreviewFeature.Feature.STRICT_FIELDS, reflective = true)
+     int ACC_STRICT_INIT = 0x0800;
+ 
      /** The bit mask of {@link AccessFlag#MODULE} access and property modifier. */
      int ACC_MODULE = 0x8000;
  
      /** The bit mask of {@link AccessFlag#OPEN} access and property modifier. */
      int ACC_OPEN = 0x20;
< prev index next >