-
Bug
-
Resolution: Fixed
-
Minor
It seems FindBugs does not 100% support Java 11 code generation. RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE is displayed randomly for the code which is okay in JDK8.
[INFO] --- findbugs-maven-plugin:3.0.5:check (findbugs) @ cli --- [INFO] BugInstance size is 3 [INFO] Error size is 0 [INFO] Total bugs: 3 [INFO] Nullcheck of channel at line 112 of value previously dereferenced in hudson.cli.SSHCLI.sshConnection(String, String, List, PrivateKeyProvider, boolean) [hudson.cli.SSHCLI, hudson.cli.SSHCLI] At SSHCLI.java:[line 112]Redundant null check at SSHCLI.java:[line 127] RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE [INFO] Nullcheck of client at line 99 of value previously dereferenced in hudson.cli.SSHCLI.sshConnection(String, String, List, PrivateKeyProvider, boolean) [hudson.cli.SSHCLI, hudson.cli.SSHCLI] At SSHCLI.java:[line 99]Redundant null check at SSHCLI.java:[line 131] RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE [INFO] Nullcheck of session at line 109 of value previously dereferenced in hudson.cli.SSHCLI.sshConnection(String, String, List, PrivateKeyProvider, boolean) [hudson.cli.SSHCLI, hudson.cli.SSHCLI] At SSHCLI.java:[line 109]Redundant null check at SSHCLI.java:[line 128] RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE [INFO]
- links to
[JENKINS-53720] JDK11 Build Flow: FindBugs fails with RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE in some classes
Epic Link |
New:
|
Summary | Original: JDK11 Build Flow: FindBugs fails with RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE on some classes | New: JDK11 Build Flow: FindBugs fails with RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE in some classes |
Labels | New: java11 |
Labels | Original: java11 | New: java11 java11-devtools-compatibility |
Labels | Original: java11 java11-devtools-compatibility | New: java11 java11-devtools-compatibility triaged |
Assignee | New: Stefan Spieker [ stefan_spieker ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: This issue links to "PR #5097 (Web Link)" [ 26353 ] |
Released As | New: 2.272 | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |