Compare commits

..

1 commit

Author SHA1 Message Date
854df4e865
Enable UTF-8 in Java source files
All checks were successful
Build / build (push) Successful in 9s
2025-04-10 23:59:02 +02:00
2 changed files with 2 additions and 1 deletions

View file

@ -16,6 +16,7 @@ def textFiles = ['**/*.hac', '**/.html', '**/*.js', '**/*.md', '**/*.properties'
allprojects { allprojects {
apply plugin: 'java' apply plugin: 'java'
compileJava {options.encoding = "UTF-8"}
java { java {
sourceCompatibility = JavaVersion.VERSION_17 sourceCompatibility = JavaVersion.VERSION_17

View file

@ -500,7 +500,7 @@ public class ApplicationManager implements XmlRpcHandler {
staticContext.start(); staticContext.start();
} }
// I hope I am correct assuming Helma does not need Jetty's session management, but using // I hope I am correct assuming Helma does not need Jettys session management, but using
// `ServletContextHandler.SESSIONS` causes an exception: Shared scheduler not started // `ServletContextHandler.SESSIONS` causes an exception: Shared scheduler not started
appContext = new ServletContextHandler(ServletContextHandler.NO_SESSIONS); appContext = new ServletContextHandler(ServletContextHandler.NO_SESSIONS);
appContext.setContextPath(pathPattern); appContext.setContextPath(pathPattern);