diff --git a/.travis.yml b/.travis.yml
index 101cb297a7..e774ec5681 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,12 +2,12 @@ language: java
sudo: false # faster builds
jdk:
+ - oraclejdk9
- oraclejdk8
- openjdk7
script:
- travis_wait 30 mvn clean package
- - travis_wait 30 mvn cobertura:cobertura
after_success:
- bash <(curl -s https://codecov.io/bash)
diff --git a/dubbo-common/src/main/java/com/alibaba/dubbo/common/utils/ReflectUtils.java b/dubbo-common/src/main/java/com/alibaba/dubbo/common/utils/ReflectUtils.java
index 88f4516a00..f9a8bba0c0 100644
--- a/dubbo-common/src/main/java/com/alibaba/dubbo/common/utils/ReflectUtils.java
+++ b/dubbo-common/src/main/java/com/alibaba/dubbo/common/utils/ReflectUtils.java
@@ -910,6 +910,9 @@ public final class ReflectUtils {
while (cls != null && cls != Object.class) {
Field[] fields = cls.getDeclaredFields();
for (Field field : fields) {
+ if (field.isSynthetic()) {
+ continue;
+ }
Object property = getEmptyObject(field.getType(), emptyInstances, level + 1);
if (property != null) {
try {
diff --git a/pom.xml b/pom.xml
index 066f75a493..f7bcffff44 100644
--- a/pom.xml
+++ b/pom.xml
@@ -111,10 +111,10 @@
2.8.2
3.6.0
3.0.1
- 2.7
3.0.0
6.1.26
3.0.0
+ 0.8.1
@@ -184,7 +184,6 @@
2.7
3.1
3.0.1
- 2.7
2.10.1
@@ -338,7 +337,7 @@
true
once
- ${argline}
+ ${argline} ${jacocoArgLine}
@@ -422,16 +421,27 @@
- org.codehaus.mojo
- cobertura-maven-plugin
- ${maven_cobertura_version}
-
-
- html
- xml
-
-
-
+ org.jacoco
+ jacoco-maven-plugin
+ ${maven_jacoco_version}
+
+
+ jacoco-initialize
+
+ prepare-agent
+
+
+ jacocoArgLine
+
+
+
+ jacoco-site
+ package
+
+ report
+
+
+