Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-253

testCompile (3.x) may not display error message when fork=true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0, 3.1, 3.2, 3.3
    • 3.6.0
    • None

    Description

      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

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            juherr Julien Herr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: