src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/classfile/Classfile.java
changeset 48861 47f19ff9903c
parent 48430 68c6f57c40d4
child 50858 2d3e99a72541
equal deleted inserted replaced
48860:5bce1b7e7800 48861:47f19ff9903c
    44 public class Classfile {
    44 public class Classfile {
    45 
    45 
    46     private final ResolvedJavaType type;
    46     private final ResolvedJavaType type;
    47     private final List<ClassfileBytecode> codeAttributes;
    47     private final List<ClassfileBytecode> codeAttributes;
    48 
    48 
    49     private static final int MAJOR_VERSION_JAVA_MIN = 51;
    49     private static final int MAJOR_VERSION_JAVA_MIN = 51; // JDK7
    50     private static final int MAJOR_VERSION_JAVA_MAX = 55;
    50     private static final int MAJOR_VERSION_JAVA_MAX = 55; // JDK11
    51     private static final int MAGIC = 0xCAFEBABE;
    51     private static final int MAGIC = 0xCAFEBABE;
    52 
    52 
    53     /**
    53     /**
    54      * Creates a {@link Classfile} by parsing the class file bytes for {@code type} loadable from
    54      * Creates a {@link Classfile} by parsing the class file bytes for {@code type} loadable from
    55      * {@code context}.
    55      * {@code context}.