This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.0.x by this push:
     new b988077  Fix BZ 65952 - align jsvc docs with scripts
b988077 is described below

commit b988077279c428442240d526cb8108c683583334
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Mar 15 19:38:31 2022 +0000

    Fix BZ 65952 - align jsvc docs with scripts
    
    https://bz.apache.org/bugzilla/show_bug.cgi?id=65952
---
 webapps/docs/changelog.xml | 4 ++++
 webapps/docs/setup.xml     | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index f538566..73b61bf 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -112,6 +112,10 @@
         (<code>maxHttpHeaderSize</code>) that is inherited by the HTTP/2 
upgrade
         protocol. Thanks to Thomas Hoffmann. (markt)
       </fix>
+      <fix>
+        <bug>65952</bug>: Align <code>--add-opens</code> configuration for jsvc
+        with the current Tomcat scripts. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Other">
diff --git a/webapps/docs/setup.xml b/webapps/docs/setup.xml
index 8daf5c1..31cc153 100644
--- a/webapps/docs/setup.xml
+++ b/webapps/docs/setup.xml
@@ -158,10 +158,12 @@ cd $CATALINA_HOME
     org.apache.catalina.startup.Bootstrap</source>
 
     <p>When running on Java 9 you will need to additionally specify the
-    following when starting jsvc to avoid warnings on shutdown.</p>
+    following when starting jsvc.</p>
 <source>...
 --add-opens=java.base/java.lang=ALL-UNNAMED \
 --add-opens=java.base/java.io=ALL-UNNAMED \
+--add-opens=java.base/java.util=ALL-UNNAMED \
+--add-opens=java.base/java.util.concurrent=ALL-UNNAMED \
 --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED \
 ...
 </source>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to