Skip to content

Commit 4b2cb21

Browse files
Merge branch 'Issue#164-support-custom-security-providers' of github.com:oracle/weblogic-deploy-tooling into Issue#164-support-custom-security-providers
2 parents b8e06ec + c7acab5 commit 4b2cb21

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/src/main/java/oracle/weblogic/deploy/util/CustomBeanUtils.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,11 @@ private static Object convertSingleValue(Object value, Class<?> dataType) {
135135
}
136136
}
137137

138+
// This block of code is similar to the conversion in TypeUtils.convertToType(), but with some differences.
139+
// Custom MBeans only allow a subset of the data types of full alias conversion, and the Java types have to
140+
// be strictly maintained to be passed the the reflected set methods. In addition, convertToType() does not
141+
// convert arrays to the proper data type, so that is handled at a more granular level in this class.
142+
138143
Object result;
139144

140145
try {

0 commit comments

Comments
 (0)