mirror of
https://github.com/Melledy/Nebula.git
synced 2026-11-04 21:36:51 +01:00
Downgrade to java 21
This commit is contained in:
1 parent
c18bafae85
commit
7da918bcac
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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