You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2023/06/02 11:48:09 UTC

[tomcat] branch 9.0.x updated: Fix release build when running on Java 21

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 3c67019fbe Fix release build when running on Java 21
3c67019fbe is described below

commit 3c67019fbef78d07cb8b3741d7fcedb336c5061a
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Jun 2 11:40:52 2023 +0100

    Fix release build when running on Java 21
---
 build.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index abc9b446c8..6c3d9f8488 100644
--- a/build.xml
+++ b/build.xml
@@ -1738,7 +1738,9 @@
 
     <!-- Generate the reflection less XReflectionIntrospectionUtils .java file -->
     <java classname="org.apache.tomcat.util.xreflection.ObjectReflectionPropertyInspector"
-          classpath="${xreflect.directory}/classes">
+          classpath="${xreflect.directory}/classes"
+          fork="true">
+      <jvmarg value="-Dsecurity.manager=allow"/>
       <arg value="${xreflect.directory}/sources"/>
     </java>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org