dsoumis commented on PR #731: URL: https://github.com/apache/tomcat/pull/731#issuecomment-2144545354
@isapir It doesn't work for me. After pulling your patch I am getting errors such as: `java: java.lang.foreign.Arena is a preview API and is disabled by default. (use --enable-preview to enable preview APIs)` I tried to resolve this by unchecking the --release option for cross compilation and add the following compiler arguments in Java Compiler settings as seen below  However, now I am getting the following error: `java: invalid source release 20 with --enable-preview (preview language features are only supported for release 22)` My opinion is that we should not set language level to experimental, as sooner or later that will not be the case anymore. I think the best approach would be to add a comment, as you initially proposed, to build.xml "ide-intellij" target that will guide the developer how to handle this case. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org