RFR: 8334714: Implement JEP 484: Class-File API [v9]

Adam Sotona asotona at openjdk.org
Fri Nov 15 11:53:00 UTC 2024


> Class-File API is leaving preview.
> This is a removal of all `@PreviewFeature` annotations from Class-File API.
> It also bumps all `@since` tags and removes `jdk.internal.javac.PreviewFeature.Feature.CLASSFILE_API`.
> 
> Please review.
> 
> Thanks,
> Adam

Adam Sotona has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 12 commits:

 - Merge remote-tracking branch 'openjdk/master' into JDK-8334714-final
   
   # Conflicts:
   #	src/java.base/share/classes/java/lang/classfile/CustomAttribute.java
 - Merge remote-tracking branch 'openjdk/master' into JDK-8334714-final
 - Merge remote-tracking branch 'openjdk/master' into JDK-8334714-final
   
   # Conflicts:
   #	src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java
 - Merge remote-tracking branch 'openjdk/master' into JDK-8334714-final
   
   # Conflicts:
   #	src/java.base/share/classes/java/lang/classfile/AccessFlags.java
   #	src/java.base/share/classes/java/lang/classfile/ClassBuilder.java
   #	src/java.base/share/classes/java/lang/classfile/ClassElement.java
   #	src/java.base/share/classes/java/lang/classfile/ClassFileTransform.java
   #	src/java.base/share/classes/java/lang/classfile/ClassHierarchyResolver.java
   #	src/java.base/share/classes/java/lang/classfile/ClassModel.java
   #	src/java.base/share/classes/java/lang/classfile/ClassReader.java
   #	src/java.base/share/classes/java/lang/classfile/ClassSignature.java
   #	src/java.base/share/classes/java/lang/classfile/CodeBuilder.java
   #	src/java.base/share/classes/java/lang/classfile/CodeElement.java
   #	src/java.base/share/classes/java/lang/classfile/CodeModel.java
   #	src/java.base/share/classes/java/lang/classfile/CompoundElement.java
   #	src/java.base/share/classes/java/lang/classfile/FieldBuilder.java
   #	src/java.base/share/classes/java/lang/classfile/FieldElement.java
   #	src/java.base/share/classes/java/lang/classfile/Instruction.java
   #	src/java.base/share/classes/java/lang/classfile/MethodBuilder.java
   #	src/java.base/share/classes/java/lang/classfile/MethodElement.java
   #	src/java.base/share/classes/java/lang/classfile/TypeKind.java
   #	src/java.base/share/classes/java/lang/classfile/attribute/LocalVariableTableAttribute.java
   #	src/java.base/share/classes/java/lang/classfile/attribute/LocalVariableTypeTableAttribute.java
   #	src/java.base/share/classes/java/lang/classfile/attribute/RuntimeInvisibleAnnotationsAttribute.java
   #	src/java.base/share/classes/java/lang/classfile/attribute/RuntimeVisibleAnnotationsAttribute.java
   #	src/java.base/share/classes/java/lang/classfile/constantpool/AnnotationConstantValueEntry.java
   #	src/java.base/share/classes/java/lang/classfile/constantpool/ConstantDynamicEntry.java
   #	src/java.base/share/classes/java/lang/classfile/constantpool/ConstantPool.java
   #	src/java.base/share/classes/java/lang/classfile/constantpool/ConstantPoolBuilder.java
   #	src/java.base/share/classes/java/lang/classfile/constantpool/ConstantValueEntry.java
   #	src/java.base/share/classes/java/lang/classfile/constantpool/DynamicConstantPoolEntry.java
   #	src/java.base/share/classes/java/lang/classfile/constantpool/FieldRefEntry.java
   #	src/java.base/share/classes/java/lang/classfile/constantpool/InterfaceMethodRefEntry.java
   #	src/java.base/share/classes/java/lang/classfile/constantpool/LoadableConstantEntry.java
   #	src/java.base/share/classes/java/lang/classfile/constantpool/MethodRefEntry.java
   #	src/java.base/share/classes/java/lang/classfile/constantpool/ModuleEntry.java
   #	src/java.base/share/classes/java/lang/classfile/constantpool/PackageEntry.java
   #	src/java.base/share/classes/java/lang/classfile/instruction/NewMultiArrayInstruction.java
 - Updated copyright years
 - Merge remote-tracking branch 'openjdk/master' into JDK-8334714-final
   
   # Conflicts:
   #	src/java.base/share/classes/java/lang/classfile/Opcode.java
   #	src/java.base/share/classes/java/lang/classfile/TypeAnnotation.java
   #	src/java.base/share/classes/java/lang/classfile/attribute/StackMapFrameInfo.java
 - Merge remote-tracking branch 'openjdk/master' into JDK-8334714-final
   
   # Conflicts:
   #	src/java.base/share/classes/java/lang/classfile/Annotation.java
   #	src/java.base/share/classes/java/lang/classfile/AnnotationValue.java
   #	src/java.base/share/classes/java/lang/classfile/FieldModel.java
   #	src/java.base/share/classes/java/lang/classfile/MethodModel.java
   #	src/java.base/share/classes/java/lang/classfile/attribute/LocalVariableInfo.java
   #	src/java.base/share/classes/java/lang/classfile/attribute/RecordComponentInfo.java
   #	src/java.base/share/classes/java/lang/classfile/instruction/LocalVariable.java
 - Merge branch 'master' into JDK-8334714-final
   
   # Conflicts:
   #	src/java.base/share/classes/java/lang/classfile/CodeBuilder.java
   #	src/java.base/share/classes/java/lang/classfile/Opcode.java
   #	src/java.base/share/classes/java/lang/classfile/TypeKind.java
 - Merge remote-tracking branch 'openjdk/master' into JDK-8334714-final
   
   # Conflicts:
   #	src/java.base/share/classes/java/lang/classfile/Annotation.java
   #	src/java.base/share/classes/java/lang/classfile/AnnotationValue.java
   #	src/java.base/share/classes/java/lang/classfile/AttributeMapper.java
   #	src/java.base/share/classes/java/lang/classfile/TypeAnnotation.java
   #	src/java.base/share/classes/java/lang/classfile/constantpool/PoolEntry.java
   #	src/jdk.javadoc/share/classes/jdk/javadoc/internal/html/HtmlId.java
 - Merge branch 'master' into JDK-8334714-final
 - ... and 2 more: https://git.openjdk.org/jdk/compare/ba393219...807e8b2a

-------------

Changes: https://git.openjdk.org/jdk/pull/19826/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19826&range=08
  Stats: 799 lines in 165 files changed: 0 ins; 487 del; 312 mod
  Patch: https://git.openjdk.org/jdk/pull/19826.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19826/head:pull/19826

PR: https://git.openjdk.org/jdk/pull/19826


More information about the core-libs-dev mailing list