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

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


The following commit(s) were added to refs/heads/7.0.x by this push:
     new 8e3c467  Fix failing tests on Windows with Java 8u29x onwards
8e3c467 is described below

commit 8e3c4677d29aa690ae821300afca3c58dc8e0002
Author: Konstantin Kolinko <kkoli...@apache.org>
AuthorDate: Mon Apr 26 23:31:46 2021 +0300

    Fix failing tests on Windows with Java 8u29x onwards
---
 build.xml                  | 5 ++++-
 webapps/docs/changelog.xml | 8 ++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index 68602ab..964e143 100644
--- a/build.xml
+++ b/build.xml
@@ -189,7 +189,10 @@
 
   <!-- Workaround against http://bugs.sun.com/view_bug.do?bug_id=6202721 -->
   <available file="/dev/urandom" property="test.jvmarg.egd" 
value="-Djava.security.egd=file:/dev/./urandom"/>
-  <property name="test.jvmarg.egd" value="" />
+  <!-- JREs may fail to start with an empty argument so provide a dummy      
-->
+  <!-- value here for those cases, such as Windows, where no value will be   
-->
+  <!-- set above.                                                            
-->
+  <property name="test.jvmarg.egd" value="-Dignore" />
 
   <!-- Check for Java 11 -->
   <available classname="java.net.http.HttpClient" property="java11.present"/>
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 94c9272..ef125b2 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -119,6 +119,14 @@
   issues do not "pop up" wrt. others).
 -->
 <section name="Tomcat 7.0.110 (violetagg)" rtext="in development">
+  <subsection name="Other">
+    <changelog>
+      <fix>
+        Fix failing to run any tests on Windows with Java 8u292 onwards.
+        (markt/kkolinko)
+      </fix>
+    </changelog>
+  </subsection>
 </section>
 <section name="Tomcat 7.0.109 (violetagg)" rtext="released 2021-04-26">
   <subsection name="Catalina">

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

Reply via email to