Skip to content

Commit

Permalink
[JENKINS-56312] Forgot to replave one VersionNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
raul-arabaolaza committed Feb 28, 2019
1 parent 3d177df commit 661782e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ private List<String> removeSplitsBasedOnJDK(List<String> splits, JavaSpecificati
for (String split : splits) {
String[] tokens = split.trim().split("\\s+");
if (tokens.length == 4 ) { // We have a jdk field in the splits file
if (jdkVersion.isNewerThan(new VersionNumber(tokens[3]))) {
if (jdkVersion.isNewerThan(new JavaSpecificationVersion(tokens[3]))) {
filterSplits.add(split);
} else {
System.out.println("Not adding " + split + " as split because jdk specified " + tokens[3] + " is newer than running jdk " + jdkVersion);
Expand Down

0 comments on commit 661782e

Please sign in to comment.