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

      Now that Jenkins is using java8 there are a few libraries that should possibly be removed.

      There are 2 versions of Stax api (jdk8 ships with a stax api and most likely imp)
      javax.activation is part of JDK8 (and prior JDKS - Jenkins shipps with a patched version?)
      javax.annotation is shipped with jdk8 - but missing the SQL annotations - but it is not likley that Jenkins usses those and should be able to make do with the Resource/Resources and PreConstruct/PostConstruct).

      There may also be other libraries...

          [JENKINS-44123] remove obsolete libraries from jenkins.war

          James Nord created issue -
          Oleg Nenashev made changes -
          Epic Link New: JENKINS-43500 [ 180815 ]

          Oleg Nenashev added a comment -

          CC batmat since it is in the Java 8 upgrade follow-ups EPIC

          Oleg Nenashev added a comment - CC batmat since it is in the Java 8 upgrade follow-ups EPIC

          Oleg Nenashev added a comment - - edited

          Likely it will be closed as a part of the Java 11 GA release effort (maybe as won't fix)

          Oleg Nenashev added a comment - - edited Likely it will be closed as a part of the Java 11 GA release effort (maybe as won't fix)
          Oleg Nenashev made changes -
          Epic Link Original: JENKINS-43500 [ 180815 ] New: JENKINS-51805 [ 191255 ]

          Oleg Nenashev added a comment -

          javax.annotation is no longer used in the Jenkins core. https://plugins.jenkins.io/jaxb can be used to install the dependencies with Java 11 or above.

           

          teilo do you want to see any additional changes in this ticket?

           

           

          Oleg Nenashev added a comment - javax.annotation is no longer used in the Jenkins core. https://plugins.jenkins.io/jaxb  can be used to install the dependencies with Java 11 or above.   teilo do you want to see any additional changes in this ticket?    

          James Nord added a comment -

          stax/jax-b annotations should be good to go.

          JSR-305 should be replaced with spotbugs but that is a different ticket

          Feel free to close if they are gone.

          James Nord added a comment - stax/jax-b annotations should be good to go. JSR-305 should be replaced with spotbugs but that is a different ticket Feel free to close if they are gone.

          Oleg Nenashev added a comment -

          JENKINS-55973 was created for SpotBugs and annotations. Since it is not blocking Java 11 release per se, I am going to close this ticket as resolved

           

          Oleg Nenashev added a comment - JENKINS-55973  was created for SpotBugs and annotations. Since it is not blocking Java 11 release per se, I am going to close this ticket as resolved  
          Oleg Nenashev made changes -
          Link New: This issue relates to JENKINS-55973 [ JENKINS-55973 ]
          Oleg Nenashev made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]

            Unassigned Unassigned
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: