diff src/share/vm/runtime/sharedRuntime.cpp @ 1602:136b78722a08

6939203: JSR 292 needs method handle constants Summary: Add new CP types CONSTANT_MethodHandle, CONSTANT_MethodType; extend 'ldc' bytecode. Reviewed-by: twisti, never
author jrose
date Wed, 09 Jun 2010 18:50:45 -0700
parents e9ff18c4ace7
children 2a47bd84841f
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp	Mon Jun 07 14:17:01 2010 -0700
+++ b/src/share/vm/runtime/sharedRuntime.cpp	Wed Jun 09 18:50:45 2010 -0700
@@ -779,7 +779,7 @@
 
   // Find bytecode
   Bytecode_invoke* bytecode = Bytecode_invoke_at(caller, bci);
-  bc = bytecode->adjusted_invoke_code();
+  bc = bytecode->java_code();
   int bytecode_index = bytecode->index();
 
   // Find receiver for non-static call