mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8000740: remove LinkWellKnownClasses
Reviewed-by: kvn, jrose
This commit is contained in:
parent
74ea92ce42
commit
222b2457ed
6 changed files with 57 additions and 155 deletions
|
@ -344,7 +344,7 @@ class ClassFileParser VALUE_OBJ_CLASS_SPEC {
|
|||
// constant pool construction, but in later versions they can.
|
||||
// %%% Let's phase out the old is_klass_reference.
|
||||
bool is_klass_reference(constantPoolHandle cp, int index) {
|
||||
return ((LinkWellKnownClasses || EnableInvokeDynamic)
|
||||
return (EnableInvokeDynamic
|
||||
? cp->tag_at(index).is_klass_or_reference()
|
||||
: cp->tag_at(index).is_klass_reference());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue