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

Upgrade minimum require Java version from 7 to 8

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      Changing minimal JDK requirement has huge impact for most users as both jenkins master and slave need to be upgraded. As JDK 7 will be EOL soon, it seems a better choice to me to directly move to Java 8

      • users to discover this compatibility break will only have to upgrade one
      • impact on jenkins development is far more exciting.

      also see JENKINS-27623

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            I have to question whether opening a JIRA issue for a change of this magnitude is really useful.

            Show
            jglick Jesse Glick added a comment - I have to question whether opening a JIRA issue for a change of this magnitude is really useful.
            Hide
            jglick Jesse Glick added a comment -

            Why is this no longer a 2.0 proposal Kohsuke Kawaguchi?

            Show
            jglick Jesse Glick added a comment - Why is this no longer a 2.0 proposal Kohsuke Kawaguchi ?
            Hide
            rtyler R. Tyler Croy added a comment -

            I did some non-scientific research posted here on the Jenkins user base. A rough approximation still indicates a majority of hosts are running JRE7.

            Currently, when I install the default Java on Ubuntu LTS (14.04), CentOS or RHEL machine I will get JRE7. Until some time after this changes, I do not think moving the baseline to JRE8 makes sense, especially considering the poor user experience when running JRE8 targeted binaries on JRE7 (that stupid minimum bytecode version exception or something)

            Show
            rtyler R. Tyler Croy added a comment - I did some non-scientific research posted here on the Jenkins user base. A rough approximation still indicates a majority of hosts are running JRE7. Currently, when I install the default Java on Ubuntu LTS (14.04), CentOS or RHEL machine I will get JRE7. Until some time after this changes, I do not think moving the baseline to JRE8 makes sense, especially considering the poor user experience when running JRE8 targeted binaries on JRE7 (that stupid minimum bytecode version exception or something)
            Hide
            jglick Jesse Glick added a comment -

            Again under discussion on dev list.

            Show
            jglick Jesse Glick added a comment - Again under discussion on dev list.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Assigned to Baptiste Mathus, who is de-facto driving this activity now

            Show
            oleg_nenashev Oleg Nenashev added a comment - Assigned to Baptiste Mathus , who is de-facto driving this activity now
            Hide
            batmat Baptiste Mathus added a comment -

            I have this PR in flight. I hope to be able to get back to it at the end of this week. But any feedback/hint there about how to solve the issue with infradna/bridge-method-injector to work with JDK8 is welcome in the meantime before I dig into it.

            Show
            batmat Baptiste Mathus added a comment - I have this PR in flight. I hope to be able to get back to it at the end of this week. But any feedback/hint there about how to solve the issue with infradna/bridge-method-injector to work with JDK8 is welcome in the meantime before I dig into it.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Baptiste Mathus
            Path:
            Jenkinsfile
            core/pom.xml
            core/src/build-script/Cobertura.groovy
            core/src/main/java/hudson/model/Computer.java
            core/src/main/java/hudson/model/User.java
            pom.xml
            test/pom.xml
            test/src/test/java/hudson/model/GetEnvironmentOutsideBuildTest.java
            test/src/test/java/jenkins/util/JenkinsJVMRealTest.java
            http://jenkins-ci.org/commit/jenkins/09cfe3bda60341edb07ade226e24196a3f875019
            Log:
            Merge pull request #2802 from batmat/JENKINS-42709

            JENKINS-27624JENKINS-42709 Bump Jenkins baseline to Java 8 minimum

            Compare: https://github.com/jenkinsci/jenkins/compare/df6528e23392...09cfe3bda603

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Baptiste Mathus Path: Jenkinsfile core/pom.xml core/src/build-script/Cobertura.groovy core/src/main/java/hudson/model/Computer.java core/src/main/java/hudson/model/User.java pom.xml test/pom.xml test/src/test/java/hudson/model/GetEnvironmentOutsideBuildTest.java test/src/test/java/jenkins/util/JenkinsJVMRealTest.java http://jenkins-ci.org/commit/jenkins/09cfe3bda60341edb07ade226e24196a3f875019 Log: Merge pull request #2802 from batmat/ JENKINS-42709 JENKINS-27624 JENKINS-42709 Bump Jenkins baseline to Java 8 minimum Compare: https://github.com/jenkinsci/jenkins/compare/df6528e23392...09cfe3bda603
            Hide
            batmat Baptiste Mathus added a comment -

            Fixed towards 2.54

            Show
            batmat Baptiste Mathus added a comment - Fixed towards 2.54

              People

              • Assignee:
                batmat Baptiste Mathus
                Reporter:
                ndeloof Nicolas De Loof
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: