changeset 13572:df4d4ef05b87 mvt

8186835: Add API point to create valuc-capable classes programmatically Reviewed-by: psandoz, dsimms
author mcimadamore
date Mon, 28 Aug 2017 14:20:27 +0100
parents e310798b834d
children a9010a9e2e11
files src/share/vm/runtime/reflection.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/reflection.cpp	Fri Aug 25 12:19:05 2017 +0200
+++ b/src/share/vm/runtime/reflection.cpp	Mon Aug 28 14:20:27 2017 +0100
@@ -829,7 +829,7 @@
 static Handle new_type(Symbol* signature, Klass* k, TRAPS) {
   // Basic types
   BasicType type = vmSymbols::signature_type(signature);
-  if (type != T_OBJECT) {
+  if (type != T_OBJECT && type != T_VALUETYPE) {
     return Handle(THREAD, Universe::java_mirror(type));
   }