comparison agent/src/share/classes/sun/jvm/hotspot/runtime/ClassConstants.java @ 1913:3b2dea75431e

6984311: JSR 292 needs optional bootstrap method parameters Summary: Allow CONSTANT_InvokeDynamic nodes to have any number of extra operands. Reviewed-by: twisti
author jrose
date Sat, 30 Oct 2010 13:08:23 -0700
parents 083fde3b838e
children ed69575596ac
comparison
equal deleted inserted replaced
1912:8213b0f5c92d 1913:3b2dea75431e
40 public static final int JVM_CONSTANT_Methodref = 10; 40 public static final int JVM_CONSTANT_Methodref = 10;
41 public static final int JVM_CONSTANT_InterfaceMethodref = 11; 41 public static final int JVM_CONSTANT_InterfaceMethodref = 11;
42 public static final int JVM_CONSTANT_NameAndType = 12; 42 public static final int JVM_CONSTANT_NameAndType = 12;
43 public static final int JVM_CONSTANT_MethodHandle = 15; 43 public static final int JVM_CONSTANT_MethodHandle = 15;
44 public static final int JVM_CONSTANT_MethodType = 16; 44 public static final int JVM_CONSTANT_MethodType = 16;
45 public static final int JVM_CONSTANT_InvokeDynamic = 17; 45 public static final int JVM_CONSTANT_InvokeDynamicTrans = 17; // only occurs in old class files
46 public static final int JVM_CONSTANT_InvokeDynamic = 18;
46 47
47 // JVM_CONSTANT_MethodHandle subtypes 48 // JVM_CONSTANT_MethodHandle subtypes
48 public static final int JVM_REF_getField = 1; 49 public static final int JVM_REF_getField = 1;
49 public static final int JVM_REF_getStatic = 2; 50 public static final int JVM_REF_getStatic = 2;
50 public static final int JVM_REF_putField = 3; 51 public static final int JVM_REF_putField = 3;