mirror of https://github.com/apache/lucene.git
java 17 -> java 21
This commit is contained in:
parent
4ef0c044d7
commit
d75b869d21
|
@ -61,8 +61,8 @@ public class WrapperDownloader {
|
||||||
|
|
||||||
public static void checkVersion() {
|
public static void checkVersion() {
|
||||||
int major = Runtime.getRuntime().version().feature();
|
int major = Runtime.getRuntime().version().feature();
|
||||||
if (major < 17 || major > 21) {
|
if (major != 21) {
|
||||||
throw new IllegalStateException("java version must be between 17 and 21, your version: " + major);
|
throw new IllegalStateException("java version must be 21, your version: " + major);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue