[
https://jira.codehaus.org/browse/MCOMPILER-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=338009#comment-338009
]
Robert Scholte commented on MCOMPILER-217:
------------------------------------------
This is something which has to be fixed in
[plexus-compiler-javac-errorprone|https://github.com/sonatype/plexus-compiler/blob/master/plexus-compilers/plexus-compiler-javac-errorprone/src/main/java/org/codehaus/plexus/compiler/javac/errorprone/JavacCompilerWithErrorProne.java],
probably with help from [~olamy] or [~krosenvold] who have at least commit
rights on this project.
> 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