1.1 --- a/src/share/vm/classfile/classFileParser.hpp Tue Oct 09 10:09:34 2012 -0700 1.2 +++ b/src/share/vm/classfile/classFileParser.hpp Fri Oct 12 09:22:52 2012 -0700 1.3 @@ -344,7 +344,7 @@ 1.4 // constant pool construction, but in later versions they can. 1.5 // %%% Let's phase out the old is_klass_reference. 1.6 bool is_klass_reference(constantPoolHandle cp, int index) { 1.7 - return ((LinkWellKnownClasses || EnableInvokeDynamic) 1.8 + return (EnableInvokeDynamic 1.9 ? cp->tag_at(index).is_klass_or_reference() 1.10 : cp->tag_at(index).is_klass_reference()); 1.11 }