Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1665

JUnits fail with Java11: IllegalArgumentException: Stream stdin corrupted. Expected comma after third character in command 'FATAL ERROR in native method: processing of -javaagent failed'

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.20.1, 3.0.0-M2
    • None
    • Junit 4.x support
    • None

    Description

      As discussed in SUREFIRE-1601 I create a new issue.

      I want to make my project (java,maven,junit,surefire) to work with Java11. However, surefire fails to execute the tests when run with Java11 (works fine with Java 1.8).

      ```

      IllegalArgumentException: Stream stdin corrupted. Expected comma after third character in command 'FATAL ERROR in native method: processing of -javaagent failed'

      ```

      Attached are the surefire reports of the affected project (which is actually the test-case of a maven archetype). You can find the entire code here:

      https://github.com/hohwille/devon4j/tree/feature/java-11-surefire

      (When cloning please ensure you checkout the branch java-11-surefire).

      The github pull-request for it can be found here:

      https://github.com/devonfw/devon4j/pull/84

      As you can see we are using travis-ci and JDK 1.8 build is green while JDK 11 build fails:

      https://travis-ci.org/devonfw/devon4j/builds/527844661?utm_source=github_status&utm_medium=notification

      I hope to have served with all the information required for you to trace down and fix the issue. In case you are still missing any information do not hesitate to ask.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            hohwille Jörg Hohwiller

            Dates

              Created:
              Updated:

              Issue deployment