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

[JDK9] Illegal reflective access from WhoAmI

    XMLWordPrintable

Details

    Description

      While exploring Jenkins 2.60.3 on Oracle Java 9 build 181 (pre-release), it reports illegal access exceptions and warns that a future release of Java 9 will forbid illegal access.

      Stack trace shows:

      WARNING: Illegal reflective access by Main (file:/usr/share/jenkins/jenkins.war) to field java.util.zip.ZipFile.name
              at Main.whoAmI(Main.java:355)
              at Main._main(Main.java:214)
              at Main.main(Main.java:132)
      

      Attachments

        Activity

          Shows on startup as well.

          vlatombe Vincent Latombe added a comment - Shows on startup as well.
          oleg_nenashev Oleg Nenashev added a comment -

          Fix has been released in Jenkins 2.129

          oleg_nenashev Oleg Nenashev added a comment - Fix has been released in Jenkins 2.129

          People

            oleg_nenashev Oleg Nenashev
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: