8334714: Implement JEP 484: Class-File API

Reviewed-by: liach, vromero
This commit is contained in:
Adam Sotona 2024-11-15 14:38:17 +00:00
parent 6cdebf0e4c
commit 84ffb64cd7
165 changed files with 312 additions and 799 deletions

View file

@ -25,7 +25,6 @@
package java.lang.classfile;
import jdk.internal.classfile.impl.RawBytecodeHelper;
import jdk.internal.javac.PreviewFeature;
/**
* Describes the opcodes of the JVM instruction set, as described in JVMS {@jvms 6.5}.
@ -35,9 +34,8 @@ import jdk.internal.javac.PreviewFeature;
* @see Instruction
* @see PseudoInstruction
*
* @since 22
* @since 24
*/
@PreviewFeature(feature = PreviewFeature.Feature.CLASSFILE_API)
public enum Opcode {
/** Do nothing */
@ -697,9 +695,8 @@ public enum Opcode {
/**
* Kinds of opcodes.
*
* @since 22
* @since 24
*/
@PreviewFeature(feature = PreviewFeature.Feature.CLASSFILE_API)
public static enum Kind {
/**