You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/12/18 04:58:47 UTC
[jira] [Commented] (IGNITE-2199) Unable to build for JDK8
[ https://issues.apache.org/jira/browse/IGNITE-2199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15063383#comment-15063383 ]
ASF GitHub Bot commented on IGNITE-2199:
----------------------------------------
GitHub user shroman opened a pull request:
https://github.com/apache/ignite/pull/351
IGNITE-2199: Unable to build for JDK8 (reference to assertEquals is ambiguous)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shroman/ignite ignite-2199
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/351.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #351
----
commit 5f0ab004961ff622c12ec65985f52a6364fb5cab
Author: shtykh_roman <rs...@yahoo.com>
Date: 2015-12-18T03:45:54Z
IGNITE-2199: Java 8 compile error fix (ambiguous reference to assertEquals)
----
> Unable to build for JDK8
> ------------------------
>
> Key: IGNITE-2199
> URL: https://issues.apache.org/jira/browse/IGNITE-2199
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 1.5
> Reporter: Sergey Kozlov
> Assignee: Roman Shtykh
> Priority: Blocker
> Fix For: 1.5
>
>
> {noformat}
> [19:33:17]W: [Ant output] [exec] [INFO] ignite-schema-import .............................. SKIPPED
> [19:33:17]W: [Ant output] [exec] [INFO] apache-ignite ..................................... SKIPPED
> [19:33:17]W: [Ant output] [exec] [INFO] ------------------------------------------------------------------------
> [19:33:17]W: [Ant output] [exec] [INFO] BUILD FAILURE
> [19:33:17]W: [Ant output] [exec] [INFO] ------------------------------------------------------------------------
> [19:33:17]W: [Ant output] [exec] [INFO] Total time: 48.621s
> [19:33:17]W: [Ant output] [exec] [INFO] Finished at: Thu Dec 17 10:33:16 CST 2015
> [19:33:17]W: [Ant output] [exec] [INFO] Final Memory: 66M/653M
> [19:33:17]W: [Ant output] [exec] [INFO] ------------------------------------------------------------------------
> [19:33:17]W: [Ant output] [exec] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project ignite-core: Compilation failure: Compilation failure:
> [19:33:17]W: [Ant output] [exec] [ERROR] /home/teamcity/buildAgent/work/4b78de95608af2b1/apache-ignite/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheBinaryEntryProcessorSelfTest.java:[165,21] reference to assertEquals is ambiguous
> [19:33:17]W: [Ant output] [exec] [ERROR] both method assertEquals(java.lang.Object,java.lang.Object) in junit.framework.TestCase and method assertEquals(int,int) in junit.framework.TestCase match
> [19:33:17]W: [Ant output] [exec] [ERROR] /home/teamcity/buildAgent/work/4b78de95608af2b1/apache-ignite/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheBinaryEntryProcessorSelfTest.java:[169,21] reference to assertEquals is ambiguous
> [19:33:17]W: [Ant output] [exec] [ERROR] both method assertEquals(java.lang.Object,java.lang.Object) in junit.framework.TestCase and method assertEquals(int,int) in junit.framework.TestCase match
> [19:33:17]W: [Ant output] [exec] [ERROR] -> [Help 1]
> [19:33:17]W: [Ant output] [exec] [ERROR]
> [19:33:17]W: [Ant output] [exec] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [19:33:17]W: [Ant output] [exec] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [19:33:17]W: [Ant output] [exec] [ERROR]
> [19:33:17]W: [Ant output] [exec] [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [19:33:17]W: [Ant output] [exec] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [19:33:17]W: [Ant output] [exec] [ERROR]
> [19:33:17]W: [Ant output] [exec] [ERROR] After correcting the problems, you can resume the build with the command
> [19:33:17]W: [Ant output] [exec] [ERROR] mvn <goals> -rf :ignite-core
> [19:33:17]W: [Ant output] [exec] Result: 1
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)