Skip to content

Commit c85abbf

Browse files
committed
no restriction to major version 70
1 parent 554a6c6 commit c85abbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

japicmp/src/main/java/japicmp/util/JApiClassFileFormatVersionHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ private static String getJdkVersion(int major, int minor) {
2727
return "JDK 1.3";
2828
} else if (major == 48) {
2929
return "JDK 1.4";
30-
} else if (major >= 49 && major <= 70) {
31-
// JDK 5 to 26, according to: https://andbin.github.io/java-versions-cheat-sheet/
30+
} else if (major >= 49) {
31+
// according to: https://andbin.github.io/java-versions-cheat-sheet/
3232
return "JDK " + (major - 44);
3333
}
3434
return "Version " + major + "." + minor;

0 commit comments

Comments
 (0)