Skip to content

Commit

Permalink
[JENKINS-53445] Adding Java 12 to the list
Browse files Browse the repository at this point in the history
  • Loading branch information
alecharp committed Jan 29, 2019
1 parent f4cbd4b commit ed703da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/hudson/plugin/versioncolumn/JVMConstants.java
Expand Up @@ -12,6 +12,7 @@ class JVMConstants {
public static final int JAVA_9 = 53;
public static final int JAVA_10 = 54;
public static final int JAVA_11 = 55;
public static final int JAVA_12 = 56;

static final Map<String, Integer> JDK_VERSION_NUMBER_TO_BYTECODE_LEVEL_MAPPING = new LinkedHashMap<String, Integer>();

Expand All @@ -34,5 +35,7 @@ class JVMConstants {
JDK_VERSION_NUMBER_TO_BYTECODE_LEVEL_MAPPING.put("10.0", JAVA_10);
JDK_VERSION_NUMBER_TO_BYTECODE_LEVEL_MAPPING.put("11", JAVA_11);
JDK_VERSION_NUMBER_TO_BYTECODE_LEVEL_MAPPING.put("11.0", JAVA_11);
JDK_VERSION_NUMBER_TO_BYTECODE_LEVEL_MAPPING.put("12", JAVA_12);
JDK_VERSION_NUMBER_TO_BYTECODE_LEVEL_MAPPING.put("12.0", JAVA_12);
}
}

0 comments on commit ed703da

Please sign in to comment.