-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Done
-
Component/s: core
-
Similar Issues:
Almost all methods in https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/FilePath.java use obsolete pre-Java7 API, which does not propagate errors.
- The code should be updated to java.nio.Files: https://docs.oracle.com/javase/7/docs/api/java/nio/file/Files.html
- Methods should propagate errors via IOExceptions where possible (and log errors to java.util.logging.Logger otherwise)
- Runtime exceptions from the new API should be caught if the methods throw them (e.g. InvalidPathException)
- relates to
-
JENKINS-34855 AtomicFileWriter isn't Atomic
-
- Resolved
-
-
JENKINS-36088 Use NIO rather than JNR whenever possible
-
- Resolved
-
-
JENKINS-48227 Use "Files.createTempDirectory" to create temp directory
-
- Resolved
-
-
JENKINS-48405 Use NIO in Util.deleteFile for better error messages
-
- Resolved
-
- links to
(1 links to)
Field | Original Value | New Value |
---|---|---|
Project | Security Issues [ 10180 ] | Jenkins [ 10172 ] |
Key |
|
|
Workflow | Security v1.2 [ 223061 ] | JNJira + In-Review [ 223062 ] |
Status | Untriaged [ 10001 ] | Open [ 1 ] |
Component/s | core [ 15593 ] | |
Component/s | core [ 15738 ] |
Labels | diagnostics | diagnostics newbie-friendly |
Issue Type | Bug [ 1 ] | Improvement [ 4 ] |
Link |
This issue relates to |
Link |
This issue relates to |
Assignee | Mariia Komar [ marykomar ] |
Assignee | Mariia Komar [ marykomar ] |
Assignee | Mariia Komar [ marykomar ] |
Assignee | Mariia Komar [ marykomar ] |
Assignee | Krishan Bhasin [ krishbhasin ] |
Link |
This issue relates to |
Link |
This issue relates to |
Remote Link | This issue links to "PR-3173 from KrishanBhasin (Web Link)" [ 22177 ] |
Labels | diagnostics newbie-friendly | diagnostics missing-acceptance-criteria needs-details newbie-friendly |
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Done [ 10000 ] |
Remote Link | This issue links to "jenkinsci/jenkins#3864 (Web Link)" [ 22307 ] |
Is this issue taken? I'd like to have a crack at it if not