[
https://jira.codehaus.org/browse/MCOMPILER-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=338020#comment-338020
]
Kristian Rosenvold edited comment on MCOMPILER-217 at 1/2/14 4:08 PM:
----------------------------------------------------------------------
The MCOIMPLER217 branch in plexus-compilers seem to indicate that the
error-prone compiler has trouble with jdk8. The IT still fails, but now for a
different reason
was (Author: krosenvold):
The MCOIMPLER217 branch in plexus-compilers seem to indicate that the
error-prone compiler has trouble with jdk8.
> IT failure with Jdk 8 (EA)
> --------------------------
>
> Key: MCOMPILER-217
> URL: https://jira.codehaus.org/browse/MCOMPILER-217
> Project: Maven Compiler Plugin
> Issue Type: Bug
> Affects Versions: 3.1
> Reporter: Herve Boutemy
>
> see
> https://builds.apache.org/view/M-R/view/Maven/job/maven-plugins-ITs-m3.1.x-with-maven-plugin-jdk-1.8/modules
> {noformat}[INFO] -------------------------------------------------
> [INFO] Build Summary:
> [INFO] Passed: 18, Failed: 1, Errors: 0, Skipped: 0
> [INFO] -------------------------------------------------
> [ERROR] The following builds failed:
> [ERROR] * error-prone-compiler/pom.xml
> [INFO] -------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------{noformat}
> {noformat}Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal
> error compiling
> at
> org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:789)
> at
> org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> ... 19 more
> Caused by: java.lang.ClassCastException:
> com.sun.tools.javac.main.Main$Result cannot be cast to java.lang.Integer
> at
> org.codehaus.plexus.compiler.javac.errorprone.JavacCompilerWithErrorProne.compileInProcessWithProperClassloader(JavacCompilerWithErrorProne.java:180)
> at
> org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:538)
> at
> org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:174)
> at
> org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:778)
> ... 22 more{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira