[ 
https://jira.codehaus.org/browse/MCOMPILER-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=345263#comment-345263
 ] 

Olivier Lamy commented on MCOMPILER-217:
----------------------------------------

for some reason, error prone doesn't generate anymore error/warnings with 1.8


> 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 was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to