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