From ad10273b0c40bde084f387ba2c746a127d0839f2 Mon Sep 17 00:00:00 2001 From: never Date: Mon, 12 Sep 2011 13:51:40 -0700 Subject: [PATCH] 7089709: type "jushort" not found Reviewed-by: kvn, twisti --- src/share/vm/runtime/vmStructs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/share/vm/runtime/vmStructs.cpp b/src/share/vm/runtime/vmStructs.cpp index 69b3ab653..101d6f92f 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; } -- GitLab