< prev index next >
src/java.base/share/classes/jdk/internal/jimage/decompressor/StringSharingDecompressor.java
Print this page
@@ -62,12 +62,14 @@
private static final int CONSTANT_InterfaceMethodref = 11;
private static final int CONSTANT_NameAndType = 12;
private static final int CONSTANT_MethodHandle = 15;
private static final int CONSTANT_MethodType = 16;
private static final int CONSTANT_InvokeDynamic = 18;
+ private static final int CONSTANT_Module = 19;
+ private static final int CONSTANT_Package = 20;
- private static final int[] SIZES = new int[20];
+ private static final int[] SIZES = new int[21];
static {
//SIZES[CONSTANT_Utf8] = XXX;
SIZES[CONSTANT_Integer] = 4;
@@ -81,10 +83,12 @@
SIZES[CONSTANT_InterfaceMethodref] = 4;
SIZES[CONSTANT_NameAndType] = 4;
SIZES[CONSTANT_MethodHandle] = 3;
SIZES[CONSTANT_MethodType] = 2;
SIZES[CONSTANT_InvokeDynamic] = 4;
+ SIZES[CONSTANT_Module] = 2;
+ SIZES[CONSTANT_Package] = 2;
}
public static int[] getSizes() {
return SIZES.clone();
}
< prev index next >