changeset 3731:bbeecede56dd

8000459: assert(java_lang_String::is_instance(entry)) failure with various mlvm tests. Summary: Remove unneeded assert. Reviewed-by: sspitsyn, coleenp
author jiangli
date Thu, 11 Oct 2012 14:36:46 -0400
parents fb19af007ffc
children 9855b7e559ae
files src/share/vm/prims/jvmtiTagMap.cpp
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiTagMap.cpp	Wed Oct 10 14:35:58 2012 -0400
+++ b/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();
           }