mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
7090259: Fix hotspot sources to build with old compilers
Fixed warnings which prevent building VM with old compilers. Reviewed-by: never
This commit is contained in:
parent
9b101c8ba6
commit
f99084037a
5 changed files with 21 additions and 11 deletions
|
@ -2701,7 +2701,7 @@ void java_lang_invoke_CallSite::compute_offsets() {
|
|||
instanceKlass* ik = instanceKlass::cast(k);
|
||||
methodOop m_normal = ik->lookup_method(vmSymbols::setTargetNormal_name(), vmSymbols::setTarget_signature());
|
||||
methodOop m_volatile = ik->lookup_method(vmSymbols::setTargetVolatile_name(), vmSymbols::setTarget_signature());
|
||||
guarantee(m_normal && m_volatile, "must exist");
|
||||
guarantee(m_normal != NULL && m_volatile != NULL, "must exist");
|
||||
m_normal->set_not_compilable_quietly();
|
||||
m_volatile->set_not_compilable_quietly();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue