src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/classfile/Classfile.java
equal
deleted
inserted
replaced
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}. |