hotspot/src/share/vm/oops/constantPool.hpp
changeset 24322 c2978d1578e3
parent 23515 f4872ef5df09
child 24337 ddce5dcb6be1
--- a/hotspot/src/share/vm/oops/constantPool.hpp	Mon Apr 28 16:05:12 2014 -0700
+++ b/hotspot/src/share/vm/oops/constantPool.hpp	Tue Apr 29 08:08:44 2014 +0200
@@ -413,9 +413,9 @@
   // Version that can be used before string oop array is created.
   oop uncached_string_at(int which, TRAPS);
 
-  // A "pseudo-string" is an non-string oop that has found is way into
+  // A "pseudo-string" is an non-string oop that has found its way into
   // a String entry.
-  // Under EnableInvokeDynamic this can happen if the user patches a live
+  // This can happen if the user patches a live
   // object into a CONSTANT_String entry of an anonymous class.
   // Method oops internally created for method handles may also
   // use pseudo-strings to link themselves to related metaobjects.
@@ -441,7 +441,6 @@
   }
 
   void pseudo_string_at_put(int which, int obj_index, oop x) {
-    assert(EnableInvokeDynamic, "");
     assert(tag_at(which).is_string(), "Corrupted constant pool");
     unresolved_string_at_put(which, NULL); // indicates patched string
     string_at_put(which, obj_index, x);    // this works just fine