Skip to content
Permalink
Browse files
[JENKINS-39836] Use value from serialver command
```
com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator$Matcher:    static final long serialVersionUID = -5078593817273453864L
```

(this is the generated value on: oracle java 7 and java 8, openjdk 7 and 8, and Zulu 8)
  • Loading branch information
stephenc committed Jan 31, 2017
1 parent f773d7c commit 56a51725352396bdf29b2c5defbf9566213002ae
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/main/java/com/cloudbees/jenkins/plugins/sshcredentials/SSHAuthenticator.java
@@ -324,7 +324,13 @@ public static CredentialsMatcher matcher(Class<?> connectionClass) {
* @since 0.5
*/
private static class Matcher implements CredentialsMatcher {
private static final Long serialVersionUID = 1L;
/**
* Standardize serialization across different JVMs.
*
* @since 1.13
*/
// historical value generated from 1.12 code with Java 8
private static final Long serialVersionUID = -5078593817273453864L;

/**
* The connection class.

0 comments on commit 56a5172

Please sign in to comment.