db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r1619154 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/SecureServerTest.java
Date Wed, 20 Aug 2014 16:49:32 GMT
Author: dag
Date: Wed Aug 20 16:49:32 2014
New Revision: 1619154

URL: http://svn.apache.org/r1619154
Log:
DERBY-6619 After silently swallowing SecurityExceptions, Derby can leak class loaders

Fix to make a path to derby.log OS agnostic; used to fail on Windows.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/SecureServerTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/SecureServerTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/SecureServerTest.java?rev=1619154&r1=1619153&r2=1619154&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/SecureServerTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/SecureServerTest.java
Wed Aug 20 16:49:32 2014
@@ -509,8 +509,7 @@ public class SecureServerTest extends Ba
 
     private void assertWarningDerby6619() throws IOException {
         final String logFileName =
-                getSystemProperty("derby.system.home").replace("/system","") +
-                File.separator + "/derby.log";
+                getSystemProperty("user.dir") + File.separator + "derby.log";
         if (!DerbyNetAutoStartTest.checkLog(logFileName, expected6619)) {
             fail("Expected warning on derby.log cf DERBY-6619");
         }



Mime
View raw message