Author: markt
Date: Mon Feb 17 10:31:21 2014
New Revision: 1568936

URL: http://svn.apache.org/r1568936
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56139
Avoid a web application class loader leak in some unit tests when running on 
Windows.

Modified:
    tomcat/trunk/build.properties.default
    tomcat/trunk/build.xml
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/build.properties.default?rev=1568936&r1=1568935&r2=1568936&view=diff
==============================================================================
--- tomcat/trunk/build.properties.default (original)
+++ tomcat/trunk/build.properties.default Mon Feb 17 10:31:21 2014
@@ -44,9 +44,6 @@ test.accesslog=false
 # Note the Cobertura code coverage tool is GPLv2 licensed
 test.cobertura=false
 
-# Workaround against http://bugs.sun.com/view_bug.do?bug_id=6202721
-test.jvmarg.egd=-Djava.security.egd=file:/dev/./urandom
-
 # Location of GPG executable (used only for releases)
 gpg.exec=/path/to/gpg
 

Modified: tomcat/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=1568936&r1=1568935&r2=1568936&view=diff
==============================================================================
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Mon Feb 17 10:31:21 2014
@@ -177,6 +177,9 @@
   <property name="tomcat.classes.cobertura" 
value="${tomcat.classes}-cobertura"/>
   <property name="cobertura.report.format" value="html"/>
 
+  <!-- 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="" />
 
   <!-- Include .gitignore in src distributions. -->
   <!-- .git and .gitignore are in defaultexcludes since Ant 1.8.2 -->

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1568936&r1=1568935&r2=1568936&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Mon Feb 17 10:31:21 2014
@@ -120,6 +120,10 @@
         <bug>56137</bug>: Explicitly use NIO connector in SSL example in
         server.xml so it doesn't break if APR is enabled. (markt)
       </fix>
+      <fix>
+        <bug>56139</bug>: Avoid a web application class loader leak in some 
unit
+        tests when running on Windows. (markt)
+      </fix>
     </changelog>
   </subsection>
 </section>



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

Reply via email to