hotspot/src/share/vm/runtime/reflection.cpp
changeset 31615 e48d94b97b6c
parent 31019 d05fcdd70109
child 33593 60764a78fa5c
--- a/hotspot/src/share/vm/runtime/reflection.cpp	Mon Jun 29 13:48:55 2015 -0700
+++ b/hotspot/src/share/vm/runtime/reflection.cpp	Mon Jun 29 10:16:48 2015 +0200
@@ -1002,8 +1002,9 @@
                 vmSymbols::throwable_void_signature(),
                 &args);
   } else {
-    if (rtype == T_BOOLEAN || rtype == T_BYTE || rtype == T_CHAR || rtype == T_SHORT)
+    if (rtype == T_BOOLEAN || rtype == T_BYTE || rtype == T_CHAR || rtype == T_SHORT) {
       narrow((jvalue*) result.get_value_addr(), rtype, CHECK_NULL);
+    }
     return box((jvalue*) result.get_value_addr(), rtype, THREAD);
   }
 }