src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/classfile/Classfile.java
changeset 53023 6879069d9d94
parent 52910 583fd71c47d6
child 55382 30b1b7b4dd86
equal deleted inserted replaced
53022:ece620f32d2d 53023:6879069d9d94
    47 
    47 
    48     private final ResolvedJavaType type;
    48     private final ResolvedJavaType type;
    49     private final List<ClassfileBytecode> codeAttributes;
    49     private final List<ClassfileBytecode> codeAttributes;
    50 
    50 
    51     private static final int MAJOR_VERSION_JAVA_MIN = 51; // JDK7
    51     private static final int MAJOR_VERSION_JAVA_MIN = 51; // JDK7
    52     private static final int MAJOR_VERSION_JAVA_MAX = 56; // JDK12
    52     private static final int MAJOR_VERSION_JAVA_MAX = 57; // JDK13
    53     private static final int MAGIC = 0xCAFEBABE;
    53     private static final int MAGIC = 0xCAFEBABE;
    54 
    54 
    55     /**
    55     /**
    56      * Creates a {@link Classfile} by parsing the class file bytes for {@code type} loadable from
    56      * Creates a {@link Classfile} by parsing the class file bytes for {@code type} loadable from
    57      * {@code context}.
    57      * {@code context}.