You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@apache.org> on 2016/10/09 20:23:20 UTC

[jira] [Closed] (MCOMPILER-253) testCompile (3.x) may not display error message when fork=true

     [ https://issues.apache.org/jira/browse/MCOMPILER-253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MCOMPILER-253.
------------------------------------
       Resolution: Fixed
         Assignee: Robert Scholte
    Fix Version/s: 3.6

Should be fixed by upgrading to plexus-compiler-2.8.1

> testCompile (3.x) may not display error message when fork=true
> --------------------------------------------------------------
>
>                 Key: MCOMPILER-253
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-253
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0, 3.1, 3.2, 3.3
>         Environment: Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T18:29:23+01:00)
> Maven home: /usr/local/apache-maven/default
> Java version: 1.7.0_80, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-7-oracle/jre
> Default locale: fr_FR, platform encoding: UTF-8
> OS name: "linux", version: "3.13.0-37-generic", arch: "amd64", family: "unix"
>            Reporter: Julien Herr
>            Assignee: Robert Scholte
>             Fix For: 3.6
>
>
> Since 3.0, the following message is not displayed when `<fork>true</true>`.
> ```
> An exception has occurred in the compiler (1.7.0_80). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report.  Thank you.
> com.sun.tools.javac.code.Symbol$CompletionFailure: class file for java.util.Optional not found
> ```
> The root cause could be in plexus-compiler: https://github.com/codehaus-plexus/plexus-compiler/issues/15



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