diff --git a/src/share/vm/runtime/vmStructs.cpp b/src/share/vm/runtime/vmStructs.cpp index 69b3ab653f8be87a74f3d7b4318a484465c09b2e..101d6f92fcd70bafb40e4efe39e3d5eb49329e2b 100644 --- a/src/share/vm/runtime/vmStructs.cpp +++ b/src/share/vm/runtime/vmStructs.cpp @@ -1341,6 +1341,7 @@ static inline uint64_t cast_uint64_t(size_t x) declare_unsigned_integer_type(unsigned int) \ declare_unsigned_integer_type(uint) \ declare_unsigned_integer_type(unsigned short) \ + declare_unsigned_integer_type(jushort) \ declare_unsigned_integer_type(unsigned long) \ /* The compiler thinks this is a different type than */ \ /* unsigned short on Win32 */ \ @@ -3216,7 +3217,7 @@ static int recursiveFindType(VMTypeEntry* origtypes, const char* typeName, bool if (!isRecurse) { tty->print_cr("type \"%s\" not found", typeName); } - return 2; + return 0; }