changeset 2704:ab577c97a5f3

7089709: type "jushort" not found Reviewed-by: kvn, twisti
author never
date Mon, 12 Sep 2011 13:51:40 -0700
parents f6f3bb0ee072
children 2209834ccb59
files src/share/vm/runtime/vmStructs.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/vmStructs.cpp	Sun Sep 11 14:48:24 2011 -0700
+++ b/src/share/vm/runtime/vmStructs.cpp	Mon Sep 12 13:51:40 2011 -0700
@@ -1341,6 +1341,7 @@
   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 @@
   if (!isRecurse) {
     tty->print_cr("type \"%s\" not found", typeName);
   }
-  return 2;
+  return 0;
 }