src/hotspot/share/interpreter/bytecodeTracer.cpp
changeset 58273 08a5148e7c4e
parent 53745 a535ba736cab
--- a/src/hotspot/share/interpreter/bytecodeTracer.cpp	Mon Sep 23 14:39:11 2019 -0400
+++ b/src/hotspot/share/interpreter/bytecodeTracer.cpp	Mon Sep 23 14:49:04 2019 -0400
@@ -449,7 +449,7 @@
     case Bytecodes::_newarray: {
         BasicType atype = (BasicType)get_index_u1();
         const char* str = type2name(atype);
-        if (str == NULL || atype == T_OBJECT || atype == T_ARRAY) {
+        if (str == NULL || is_reference_type(atype)) {
           assert(false, "Unidentified basic type");
         }
         st->print_cr(" %s", str);