You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/05/21 23:38:12 UTC

[jira] [Commented] (MSHARED-448) testRecreation failure with OpenJDK 8 on Linux

    [ https://issues.apache.org/jira/browse/MSHARED-448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15295307#comment-15295307 ] 

Michael Osipov commented on MSHARED-448:
----------------------------------------

It does pass on the same linux box with OpenJDK 7:

{noformat}
Apache Maven 3.4.0-SNAPSHOT (NON-CANONICAL_2016-04-15T21:34:46+02:00_mosipov; 2016-04-15T21:34:46+02:00)
Maven home: /opt/apache-maven-3.4.0-SNAPSHOT
Java version: 1.7.0_101, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-i386/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "Linux", version: "3.13.0-85-generic", arch: "i386", family: "Unix"
{noformat}

It seems to be a bug in OpenJDK on Linux.

> testRecreation failure with OpenJDK 8 on Linux
> ----------------------------------------------
>
>                 Key: MSHARED-448
>                 URL: https://issues.apache.org/jira/browse/MSHARED-448
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-archiver
>    Affects Versions: maven-archiver-3.0.0
>         Environment: OpenJDK 1.8.0_60 (Linux, amd64)
> Maven 3.3.3
>            Reporter: Mikolaj Izdebski
>
> testRecreation test of maven-archiver 3.0.0 fails with OpenJDK on Linux
> {code}
> testRecreation(org.apache.maven.archiver.MavenArchiverTest)  Time elapsed: 0.026 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<1445257310000> but was:<1445257250000>
> 	at junit.framework.Assert.fail(Assert.java:50)
> 	at junit.framework.Assert.failNotEquals(Assert.java:287)
> 	at junit.framework.Assert.assertEquals(Assert.java:67)
> 	at junit.framework.Assert.assertEquals(Assert.java:134)
> 	at junit.framework.Assert.assertEquals(Assert.java:140)
> 	at org.apache.maven.archiver.MavenArchiverTest.testRecreation(MavenArchiverTest.java:248)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)