From notifications-return-31442-apmail-jclouds-notifications-archive=jclouds.apache.org@jclouds.apache.org Wed Jul 8 00:01:04 2015 Return-Path: X-Original-To: apmail-jclouds-notifications-archive@www.apache.org Delivered-To: apmail-jclouds-notifications-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A19F518727 for ; Wed, 8 Jul 2015 00:01:04 +0000 (UTC) Received: (qmail 458 invoked by uid 500); 8 Jul 2015 00:01:04 -0000 Delivered-To: apmail-jclouds-notifications-archive@jclouds.apache.org Received: (qmail 427 invoked by uid 500); 8 Jul 2015 00:01:04 -0000 Mailing-List: contact notifications-help@jclouds.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jclouds.apache.org Delivered-To: mailing list notifications@jclouds.apache.org Received: (qmail 415 invoked by uid 99); 8 Jul 2015 00:01:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2015 00:01:04 +0000 Date: Wed, 8 Jul 2015 00:01:04 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: notifications@jclouds.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (JCLOUDS-857) Tests fail due to Incorrect number of names on @org.jclouds.json.SerializedNames(value=[loadSucceeded, loadErrors, testPassed, testFailures]) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCLOUDS-857?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D146= 17690#comment-14617690 ]=20 ASF subversion and git services commented on JCLOUDS-857: --------------------------------------------------------- Commit 1c1cfffd5d0e58ec8b8ad1e3d307c9d0ffaeb000 in jclouds's branch refs/he= ads/master from [~gaul] [ https://git-wip-us.apache.org/repos/asf?p=3Djclouds.git;h=3D1c1cfff ] JCLOUDS-857: remove spurious annotation Multiple constructors annotated with @SerializedNames confuses NamingStrategies.translateName and causes failures with newer JDK. Since the second constructor does not need this annotation we remote it. > Tests fail due to Incorrect number of names on @org.jclouds.json.Serializ= edNames(value=3D[loadSucceeded, loadErrors, testPassed, testFailures]) > -------------------------------------------------------------------------= -------------------------------------------------------------------- > > Key: JCLOUDS-857 > URL: https://issues.apache.org/jira/browse/JCLOUDS-857 > Project: jclouds > Issue Type: Bug > Components: jclouds-labs-google > Affects Versions: 1.8.1 > Reporter: Andrew Gaul > Assignee: Andrew Gaul > Labels: google-compute-engine > Attachments: log.txt > > > Some GCE tests fail due to Incorrect number of names on @org.jclouds.json= .SerializedNames(value=3D[loadSucceeded, loadErrors, testPassed, testFailur= es]) when using newer versions of Java: > {noformat} > $ mvn clean test -pl google-compute-engine -Dtest=3DParseUrlMapValidateTe= st,UrlMapApiMockTest > ... > Failed tests: > ParseUrlMapValidateTest>BaseParserTest.test:69 =C2=BB HttpResponse Erro= r parsing in... > UrlMapApiMockTest.validate:115 =C2=BB IllegalState Incorrect number of = names on @or... > {noformat} > These tests pass with JDK 7u72 and 8u25 but fail with 7u76 and 8u31. -- This message was sent by Atlassian JIRA (v6.3.4#6332)