8000459: assert(java_lang_String::is_instance(entry)) failure with various mlvm tests.
authorjiangli
Thu, 11 Oct 2012 14:36:46 -0400
changeset 13976 93a075193661
parent 13975 2f7431485cfa
child 13977 92de166c91b3
8000459: assert(java_lang_String::is_instance(entry)) failure with various mlvm tests. Summary: Remove unneeded assert. Reviewed-by: sspitsyn, coleenp
hotspot/src/share/vm/prims/jvmtiTagMap.cpp
--- a/hotspot/src/share/vm/prims/jvmtiTagMap.cpp	Wed Oct 10 14:35:58 2012 -0400
+++ b/hotspot/src/share/vm/prims/jvmtiTagMap.cpp	Thu Oct 11 14:36:46 2012 -0400
@@ -2862,9 +2862,8 @@
           oop entry;
           if (tag.is_string()) {
             entry = pool->resolved_string_at(i);
-            // If the entry is non-null it it resolved.
+            // If the entry is non-null it is resolved.
             if (entry == NULL) continue;
-            assert(java_lang_String::is_instance(entry), "must be string");
           } else {
             entry = Klass::cast(pool->resolved_klass_at(i))->java_mirror();
           }