From dev-return-1185-archive-asf-public=cust-asf.ponee.io@dubbo.apache.org Tue Apr 10 05:47:55 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A186818067B for ; Tue, 10 Apr 2018 05:47:54 +0200 (CEST) Received: (qmail 51582 invoked by uid 500); 10 Apr 2018 03:47:53 -0000 Mailing-List: contact dev-help@dubbo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@dubbo.apache.org Delivered-To: mailing list dev@dubbo.apache.org Received: (qmail 51568 invoked by uid 99); 10 Apr 2018 03:47:52 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2018 03:47:52 +0000 From: GitBox To: dev@dubbo.apache.org Subject: [GitHub] lovepoem closed pull request #1575: [dubbo-1521]add java 9 in travis yml Message-ID: <152333207228.25834.3664375536879398754.gitbox@gitbox.apache.org> Date: Tue, 10 Apr 2018 03:47:52 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit lovepoem closed pull request #1575: [dubbo-1521]add java 9 in travis yml URL: https://github.com/apache/incubator-dubbo/pull/1575 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): 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 @@ private static Object getEmptyObject(Class returnType, Map, Object> 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 + + + ---------------------------------------------------------------- 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: users@infra.apache.org With regards, Apache Git Services