hotspot/src/share/vm/oops/constantPool.cpp
changeset 24322 c2978d1578e3
parent 23872 536c66fc43d3
child 24337 ddce5dcb6be1
--- a/hotspot/src/share/vm/oops/constantPool.cpp	Mon Apr 28 16:05:12 2014 -0700
+++ b/hotspot/src/share/vm/oops/constantPool.cpp	Tue Apr 29 08:08:44 2014 +0200
@@ -1827,9 +1827,7 @@
 // We can't do this during classfile parsing, which is how the other indexes are
 // patched.  The other patches are applied early for some error checking
 // so only defer the pseudo_strings.
-void ConstantPool::patch_resolved_references(
-                                            GrowableArray<Handle>* cp_patches) {
-  assert(EnableInvokeDynamic, "");
+void ConstantPool::patch_resolved_references(GrowableArray<Handle>* cp_patches) {
   for (int index = 1; index < cp_patches->length(); index++) { // Index 0 is unused
     Handle patch = cp_patches->at(index);
     if (patch.not_null()) {