• Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • remoting
    • None

      Remoting layer could benefit from bumping to Java7 due to its better resource handling and File API methods. Jenkins does not support Java 6 starting from 1.625 (>1 year ago), hence Java 6 is not required anymore

          [JENKINS-37565] Update supported Java version to Java7

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Epic Link New: JENKINS-37564 [ 173676 ]
          Oleg Nenashev made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Description Original: Remoting layer could benefit from bumping to Java7 due to its better resource handling and File API methods. Jenkins does not support Java 6 starting from 1.609.x (>1 year ago), hence Java 6 is not required anymore New: Remoting layer could benefit from bumping to Java7 due to its better resource handling and File API methods. Jenkins does not support Java 6 starting from 1.625 (>1 year ago), hence Java 6 is not required anymore

          Oleg Nenashev added a comment -

          Thanks markewaite for the version fix. Yes, Java6 is dropped in 1.625. BTW, Java update is still reasonable

          Oleg Nenashev added a comment - Thanks markewaite for the version fix. Yes, Java6 is dropped in 1.625. BTW, Java update is still reasonable

          Mark Waite added a comment -

          oleg_nenashev I agree wholeheartedly. The "try with resources" additions of JDK 7 have been a great help to reduce the amount of code in the git client plugin 2.0 release, and those same additions give me more confidence that the battle against resource leaks might be a "winnable battle".

          Mark Waite added a comment - oleg_nenashev I agree wholeheartedly. The "try with resources" additions of JDK 7 have been a great help to reduce the amount of code in the git client plugin 2.0 release, and those same additions give me more confidence that the battle against resource leaks might be a "winnable battle".

          Oleg Nenashev added a comment -

          And also Files class with normal file operations, which do not require the return value check...
          There is a bunch of such errors in remoting - JENKINS-37566

          Oleg Nenashev added a comment - And also Files class with normal file operations, which do not require the return value check... There is a bunch of such errors in remoting - JENKINS-37566
          Oleg Nenashev made changes -
          Link New: This issue is related to JENKINS-37566 [ JENKINS-37566 ]

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          pom.xml
          http://jenkins-ci.org/commit/pom/8334beddd7464851b4a3c18cec8f525430fbf418
          Log:
          Merge pull request #11 from oleg-nenashev/pom-update

          JENKINS-37565 Allow specifying custom java.level

          Compare: https://github.com/jenkinsci/pom/compare/9a115ced6df7...8334beddd746

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: pom.xml http://jenkins-ci.org/commit/pom/8334beddd7464851b4a3c18cec8f525430fbf418 Log: Merge pull request #11 from oleg-nenashev/pom-update JENKINS-37565 Allow specifying custom java.level Compare: https://github.com/jenkinsci/pom/compare/9a115ced6df7...8334beddd746

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

              Created:
              Updated:
              Resolved: