Uploaded image for project: 'Build'
  1. Build
  2. BUILD-1078

SureFire: --illegal-access=deny not supported anymore on Java 17

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • POMs 55
    • None
    • Poms
    • None
    • Yes

    Description

      The super-pom configures the Surefire plugin with --illegal-access=deny by default. Java 17 has deprecated that option which leads to the following WARN during test execution:

      OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=deny; support was removed in 17.0

      In order to reduce the amount of "you don't need to care" WARNings during the build, it might be worth to limit that setting to JDK versions less than 17.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              mduerig Michael Duerig
              brenuart Bertrand Renuart
              Foundation
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Work Started:

                Checklists

                  Task DoR