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:11:10 UTC

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

commit c0d6762dec22b7c5a3196ff2ba7f3bedaa22351c
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 090cd601d8..98ac77e36d 100644
--- a/build.xml
+++ b/build.xml
@@ -1782,7 +1782,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