lovepoem commented on a change in pull request #1575: [dubbo-1521]add java 9 in
travis yml
URL: https://github.com/apache/incubator-dubbo/pull/1575#discussion_r180290674
##########
File path:
dubbo-common/src/main/java/com/alibaba/dubbo/common/utils/ReflectUtils.java
##########
@@ -910,6 +910,9 @@ private static Object getEmptyObject(Class<?> returnType,
Map<Class<?>, Object>
while (cls != null && cls != Object.class) {
Field[] fields = cls.getDeclaredFields();
for (Field field : fields) {
+ if (field.isSynthetic()) {
Review comment:
What's the purpose to add this filter?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services