mirror of https://github.com/apache/openjpa.git
detect newer java versions as well
This commit is contained in:
parent
e3bb1f1657
commit
589d7755d2
|
@ -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...
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue