Skip to content

Commit

Permalink
[JENKINS-53720] JDK11 Build Flow: FindBugs fails with RCN_REDUNDANT_N…
Browse files Browse the repository at this point in the history
…ULLCHECK_WOULD_HAVE_BEEN_A_NPE in some classes (#166)
  • Loading branch information
kuisathaverat committed Oct 13, 2019
1 parent 4b2179c commit 1f57ea3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/hudson/plugins/sshslaves/SSHLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,9 @@ private void expandChannelBufferSize(Session session, TaskListener listener) {
*
* @throws IOException If something goes wrong.
*/
@edu.umd.cs.findbugs.annotations.SuppressFBWarnings(
value="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE",
justification="there is a bug related with Java 11 bytecode see https://github.com/spotbugs/spotbugs/issues/756")
private void copyAgentJar(TaskListener listener, String workingDirectory) throws IOException, InterruptedException {
String fileName = workingDirectory + SLASH_AGENT_JAR;

Expand Down

0 comments on commit 1f57ea3

Please sign in to comment.