diff --git a/rxlib/src/main/java/org/rx/core/Reflects.java b/rxlib/src/main/java/org/rx/core/Reflects.java index a69a2279..053506b6 100644 --- a/rxlib/src/main/java/org/rx/core/Reflects.java +++ b/rxlib/src/main/java/org/rx/core/Reflects.java @@ -717,7 +717,8 @@ public static T changeType(Object value, Class toType) { throw new InvalidException("Value should be 0 or 1"); } } else if (toType == Class.class && value instanceof String) { - value = loadClass(value.toString(), false); + //todo check + value = loadClass(value.toString(), true); } else { Linq methods = getMethodMap(toType).get(CHANGE_TYPE_METHOD); if (methods == null || fromType.isEnum()) {