mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-13 12:54:36 +01:00
Downgrade to java 21
This commit is contained in:
@@ -25,7 +25,7 @@ compileTestJava.options.encoding = "UTF-8"
|
|||||||
|
|
||||||
java {
|
java {
|
||||||
toolchain {
|
toolchain {
|
||||||
languageVersion = JavaLanguageVersion.of(25)
|
languageVersion = JavaLanguageVersion.of(21)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ public class HttpServer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Exception handler
|
// Exception handler
|
||||||
getApp().exception(Exception.class, (e, _) -> {
|
getApp().exception(Exception.class, (e, c) -> {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user