src/share/vm/ci/ciStreams.cpp

changeset 1570
e66fd840cb6b
parent 1279
bd02caa94611
child 1572
97125851f396
equal deleted inserted replaced
1569:0910903272e5 1570:e66fd840cb6b
337 // 337 //
338 // There is no "will_link" result passed back. The user is responsible 338 // There is no "will_link" result passed back. The user is responsible
339 // for checking linkability when retrieving the associated method. 339 // for checking linkability when retrieving the associated method.
340 ciKlass* ciBytecodeStream::get_declared_method_holder() { 340 ciKlass* ciBytecodeStream::get_declared_method_holder() {
341 bool ignore; 341 bool ignore;
342 // report as Dynamic for invokedynamic, which is syntactically classless 342 // report as InvokeDynamic for invokedynamic, which is syntactically classless
343 if (cur_bc() == Bytecodes::_invokedynamic) 343 if (cur_bc() == Bytecodes::_invokedynamic)
344 return CURRENT_ENV->get_klass_by_name(_holder, ciSymbol::java_dyn_Dynamic(), false); 344 return CURRENT_ENV->get_klass_by_name(_holder, ciSymbol::java_dyn_InvokeDynamic(), false);
345 return CURRENT_ENV->get_klass_by_index(_holder, get_method_holder_index(), ignore); 345 return CURRENT_ENV->get_klass_by_index(_holder, get_method_holder_index(), ignore);
346 } 346 }
347 347
348 // ------------------------------------------------------------------ 348 // ------------------------------------------------------------------
349 // ciBytecodeStream::get_method_holder_index 349 // ciBytecodeStream::get_method_holder_index

mercurial