detect newer java versions as well

This commit is contained in:
Mark Struberg 2020-07-23 13:47:27 +02:00
parent e3bb1f1657
commit 589d7755d2
1 changed files with 5 additions and 1 deletions

View File

@ -53,8 +53,12 @@ public class JavaVersions {
VERSION = 5;
else if ("1.6".equals(specVersion))
VERSION = 6;
else if ("1.7".equals(specVersion))
VERSION = 7;
else if ("1.8".equals(specVersion))
VERSION = 8;
else
VERSION = 7; // maybe someday...
VERSION = 9; // maybe someday...
}
/**