hotspot/src/share/vm/classfile/classFileParser.hpp
changeset 13974 791cba24758f
parent 13952 e3cf184080bc
parent 13973 cb904e0b6a45
child 14385 959bbcc16725
--- a/hotspot/src/share/vm/classfile/classFileParser.hpp	Tue Oct 09 10:09:34 2012 -0700
+++ b/hotspot/src/share/vm/classfile/classFileParser.hpp	Fri Oct 12 09:22:52 2012 -0700
@@ -344,7 +344,7 @@
   // 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());
   }