Return-Path: X-Original-To: apmail-devicemap-commits-archive@www.apache.org Delivered-To: apmail-devicemap-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DDDA510A46 for ; Wed, 31 Dec 2014 20:40:12 +0000 (UTC) Received: (qmail 17358 invoked by uid 500); 31 Dec 2014 20:40:13 -0000 Delivered-To: apmail-devicemap-commits-archive@devicemap.apache.org Received: (qmail 17330 invoked by uid 500); 31 Dec 2014 20:40:13 -0000 Mailing-List: contact commits-help@devicemap.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@devicemap.apache.org Delivered-To: mailing list commits@devicemap.apache.org Received: (qmail 17320 invoked by uid 99); 31 Dec 2014 20:40:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Dec 2014 20:40:13 +0000 Date: Wed, 31 Dec 2014 20:40:13 +0000 (UTC) From: "Reza Naghibi (JIRA)" To: commits@devicemap.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DMAP-112) Java client test fails with JDK 1.8.0-25 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/DMAP-112?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D142624= 21#comment-14262421 ]=20 Reza Naghibi commented on DMAP-112: ----------------------------------- Werner, can you please revert this commit: https://svn.apache.org/viewvc?view=3Drevision&revision=3D1648756 The test you added is duplicate. It already exists here: https://svn.apache.org/viewvc/devicemap/trunk/devicemap/java/classifier/src= /test/resources/uas.data?view=3Dmarkup Line 980: Mozilla/5.0 (Linux; U; Android 2.3.7; en-us; MB870 Build/4.5.1A-DTN-150-30;= CyanogenMod-7.2.0) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobil= e Safari/533.1||MB870 > Java client test fails with JDK 1.8.0-25 > ---------------------------------------- > > Key: DMAP-112 > URL: https://issues.apache.org/jira/browse/DMAP-112 > Project: DeviceMap > Issue Type: Bug > Components: Java Client > Affects Versions: 1.1.0 Java > Environment: JDK 1.8.0-25, OSX (Darwin Kernel Version 13.4.0) > Reporter: Volkan Yaz=C4=B1c=C4=B1 > Assignee: Reza Naghibi > Labels: bug, java8, test > > {{mvn clean install test}} fails for the DeviceMap Java Client module: > {noformat} > DeviceMapClientTest[979](org.apache.devicemap.DeviceMapClientTest) Time = elapsed: 0.003 sec <<< FAILURE! > org.junit.ComparisonFailure: classification failed for 'Mozilla/5.0 (Linu= x; U; Android 2.3.7; en-us; MB870 Build/4.5.1A-DTN-150-30; CyanogenMod-7.2.= 0) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1' e= xpected:<[MB870]> but was:<[DROID X2]> > =09at org.junit.Assert.assertEquals(Assert.java:115) > =09at org.apache.devicemap.DeviceMapClientTest.DeviceMapClientTest(Device= MapClientTest.java:74) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)