Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67992

Add Add-Opens entry to MANIFEST.MF

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • 2.339

      When running Jenkins with Java 17, one needs to pass in severalĀ --add-opens directives on the command line when running java -jar jenkins.war. It is error-prone to do this everywhere we run java -jar jenkins.war. Instead we should add anĀ Add-Opens entry to MANIFEST.MF instead. Adding this entry has no impact on older versions of Java, so why not do it now? This just makes it easier to run Jenkins on Java 17.

            basil Basil Crow
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: