[Bug 286475] www/tomee: typo fixed, some line endings corrected and JAVA 9+ specific start-up parameters added
Date: Fri, 02 May 2025 12:02:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286475
Vladimir Druzenko <vvd@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |In Progress
Assignee|ports-bugs@FreeBSD.org |vvd@FreeBSD.org
--- Comment #4 from Vladimir Druzenko <vvd@FreeBSD.org> ---
I did more tests with tomcats: jsvc 1.4.0 from ports support "--add-opens"
option, but 1st time I tested with jsvc 1.0.15 on Ubuntu 24.04.2 - this very
old version doesn't support "--add-opens".
I'll update tomcat's rc.d scripts.
My suggestion:
@@ -107,6 +107,14 @@
case "${_tomee_java_version}" in
9* | [1-2][0-9]* )
+ _tomee_java_opts="${_tomee_java_opts} \
+ --add-opens=java.base/java.io=ALL-UNNAMED \
+ --add-opens=java.base/java.lang=ALL-UNNAMED \
+ --add-opens=java.base/java.net=ALL-UNNAMED \
+ --add-opens=java.base/java.util=ALL-UNNAMED \
+
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED \
+
--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED \
+
--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED"
_tomee_endorsed_dirs_option=
;;
*)
We don't need one more variable.
--
You are receiving this mail because:
You are the assignee for the bug.