comparison agent/src/share/classes/sun/jvm/hotspot/tools/jcore/ClassWriter.java @ 2460:ed69575596ac

6981791: remove experimental code for JSR 292 Reviewed-by: twisti
author jrose
date Thu, 07 Apr 2011 17:02:30 -0700
parents 3582bf76420e
children 6c97c830fb6f
comparison
equal deleted inserted replaced
2459:55973726c600 2460:ed69575596ac
319 dos.writeShort(refIndex); 319 dos.writeShort(refIndex);
320 if (DEBUG) debugMessage("CP[" + ci + "] = MT index = " + refIndex); 320 if (DEBUG) debugMessage("CP[" + ci + "] = MT index = " + refIndex);
321 break; 321 break;
322 } 322 }
323 323
324 case JVM_CONSTANT_InvokeDynamicTrans:
325 case JVM_CONSTANT_InvokeDynamic: { 324 case JVM_CONSTANT_InvokeDynamic: {
326 dos.writeByte(cpConstType); 325 dos.writeByte(cpConstType);
327 int value = cpool.getIntAt(ci); 326 int value = cpool.getIntAt(ci);
328 short bsmIndex = (short) extractLowShortFromInt(value); 327 short bsmIndex = (short) extractLowShortFromInt(value);
329 short nameAndTypeIndex = (short) extractHighShortFromInt(value); 328 short nameAndTypeIndex = (short) extractHighShortFromInt(value);