changeset 27677 | b1997f2f1b56 |
parent 27022 | 2db6fe33afc2 |
child 27680 | 8ecc0871c18e |
--- a/hotspot/src/share/vm/runtime/reflection.cpp Mon Oct 27 17:24:10 2014 -0400 +++ b/hotspot/src/share/vm/runtime/reflection.cpp Wed Nov 12 13:55:59 2014 +0100 @@ -1004,7 +1004,7 @@ } else { 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, CHECK_NULL); + return box((jvalue*) result.get_value_addr(), rtype, THREAD); } }