hotspot/src/share/vm/memory/universe.hpp
changeset 13107 fe2475f9b38a
parent 12379 2cf45b79ce3a
child 13196 6b399731153b
--- a/hotspot/src/share/vm/memory/universe.hpp	Mon Jun 18 12:29:21 2012 -0700
+++ b/hotspot/src/share/vm/memory/universe.hpp	Mon Jun 18 15:17:30 2012 -0700
@@ -273,7 +273,7 @@
   }
 
   static klassOop typeArrayKlassObj(BasicType t) {
-    assert((uint)t < T_VOID+1, "range check");
+    assert((uint)t < T_VOID+1, err_msg("range check for type: %s", type2name(t)));
     assert(_typeArrayKlassObjs[t] != NULL, "domain check");
     return _typeArrayKlassObjs[t];
   }