changeset 5030:5952f579380f

patched method handle adapter code to deal with failures in TCK
author adinn
date Fri, 12 Jul 2013 20:20:10 +0100
parents 31c0b70bdafe
children f056bda687ee
files src/cpu/zero/vm/cppInterpreter_zero.cpp
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/zero/vm/cppInterpreter_zero.cpp	Fri Jul 12 20:17:38 2013 +0100
+++ b/src/cpu/zero/vm/cppInterpreter_zero.cpp	Fri Jul 12 20:20:10 2013 +0100
@@ -385,6 +385,15 @@
           CALL_VM_NOCHECK(InterpreterRuntime::monitorexit(thread, monitor));
         }
       }
+      // INT results sometimes need narrowing
+    case T_BOOLEAN:
+    case T_CHAR:
+    case T_BYTE:
+    case T_SHORT:
+      switch (src_rtype) {
+      case T_INT:
+        return;
+      }
     }
   }