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 10:41:00 UTC

[tomcat] branch main 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 main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


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

commit c178ba10e235d9680da63ae3d4778c4f9c1d2c55
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 f189b100f6..2f2b6ce2bb 100644
--- a/build.xml
+++ b/build.xml
@@ -1777,7 +1777,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