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

Remoting should not use File#toPath() due to the risk of unchecked exceptions

      subj, RuntimeException are evil

          [JENKINS-47901] Remoting should not use File#toPath() due to the risk of unchecked exceptions

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Oleg Nenashev made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/remoting/pull/211 (Web Link)" [ 18004 ]

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/hudson/remoting/FileSystemJarCache.java
          src/main/java/hudson/remoting/Launcher.java
          src/main/java/hudson/remoting/Util.java
          src/main/java/hudson/remoting/jnlp/Main.java
          src/main/java/org/jenkinsci/remoting/engine/WorkDirManager.java
          src/main/java/org/jenkinsci/remoting/util/PathUtils.java
          http://jenkins-ci.org/commit/remoting/0549f75ae4f598cff08aebe9134ad4ba5ebf9ead
          Log:
          JENKINS-47901 - Stop using unchecked File#toPath()

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/hudson/remoting/FileSystemJarCache.java src/main/java/hudson/remoting/Launcher.java src/main/java/hudson/remoting/Util.java src/main/java/hudson/remoting/jnlp/Main.java src/main/java/org/jenkinsci/remoting/engine/WorkDirManager.java src/main/java/org/jenkinsci/remoting/util/PathUtils.java http://jenkins-ci.org/commit/remoting/0549f75ae4f598cff08aebe9134ad4ba5ebf9ead Log: JENKINS-47901 - Stop using unchecked File#toPath()

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/hudson/remoting/FileSystemJarCache.java
          src/main/java/hudson/remoting/Launcher.java
          src/main/java/hudson/remoting/Util.java
          src/main/java/hudson/remoting/jnlp/Main.java
          src/main/java/org/jenkinsci/remoting/engine/WorkDirManager.java
          src/main/java/org/jenkinsci/remoting/util/PathUtils.java
          http://jenkins-ci.org/commit/remoting/7c28abe7f46dbb35a69d520b180efad11b763720
          Log:
          Merge pull request #211 from oleg-nenashev/bug/JENKINS-47901

          JENKINS-47901 - Stop using unchecked File#toPath()

          Compare: https://github.com/jenkinsci/remoting/compare/49c67eef8616...7c28abe7f46d

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/hudson/remoting/FileSystemJarCache.java src/main/java/hudson/remoting/Launcher.java src/main/java/hudson/remoting/Util.java src/main/java/hudson/remoting/jnlp/Main.java src/main/java/org/jenkinsci/remoting/engine/WorkDirManager.java src/main/java/org/jenkinsci/remoting/util/PathUtils.java http://jenkins-ci.org/commit/remoting/7c28abe7f46dbb35a69d520b180efad11b763720 Log: Merge pull request #211 from oleg-nenashev/bug/ JENKINS-47901 JENKINS-47901 - Stop using unchecked File#toPath() Compare: https://github.com/jenkinsci/remoting/compare/49c67eef8616...7c28abe7f46d

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          pom.xml
          http://jenkins-ci.org/commit/jenkins/bcd0b2c72bf8c55b7d4997e142954c149b7d4faa
          Log:
          Update Remoting from 3.13. to 3.14

          Fixes JENKINS-45294, JENKINS-47425, JENKINS-47901, JENKINS-47942 + about 50 reported FindBugs issues (JENKINS-37566). There are 13 FindBugs issues left, work in progress.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: pom.xml http://jenkins-ci.org/commit/jenkins/bcd0b2c72bf8c55b7d4997e142954c149b7d4faa Log: Update Remoting from 3.13. to 3.14 Fixes JENKINS-45294 , JENKINS-47425 , JENKINS-47901 , JENKINS-47942 + about 50 reported FindBugs issues ( JENKINS-37566 ). There are 13 FindBugs issues left, work in progress.

          Oleg Nenashev added a comment -

          The patch has been released in Remoting 3.14 and integrated towards Jenkins 2.90

          Oleg Nenashev added a comment - The patch has been released in Remoting 3.14 and integrated towards Jenkins 2.90
          Oleg Nenashev made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: