8000740: remove LinkWellKnownClasses

Reviewed-by: kvn, jrose
This commit is contained in:
Christian Thalinger 2012-10-11 14:46:20 -07:00
parent 74ea92ce42
commit 222b2457ed
6 changed files with 57 additions and 155 deletions

View file

@ -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());
}