You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by dj...@apache.org on 2006/07/19 23:37:48 UTC

svn commit: r423616 - in /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet: DerbyNetNewServer_app.properties testij_app.properties

Author: djd
Date: Wed Jul 19 14:37:47 2006
New Revision: 423616

URL: http://svn.apache.org/viewvc?rev=423616&view=rev
Log:
derbynet/DerbyNetNewServer test now passes with the security manager.
Add comment as to why derbynet/testij runs without the security manager.

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/DerbyNetNewServer_app.properties
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/DerbyNetNewServer_app.properties?rev=423616&r1=423615&r2=423616&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/DerbyNetNewServer_app.properties (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/DerbyNetNewServer_app.properties Wed Jul 19 14:37:47 2006
@@ -3,6 +3,3 @@
 runwithibm13=false
 startServer=false
 
-# disable security manager for now - needs investigating
-noSecurityManager=false
-

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testij_app.properties
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testij_app.properties?rev=423616&r1=423615&r2=423616&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testij_app.properties (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/testij_app.properties Wed Jul 19 14:37:47 2006
@@ -2,6 +2,11 @@
 supportfiles=tests/derbynet/testij.sql,tests/derbynet/testclientij.sql
 useextdirs=true
 
-# disable security manager for now - needs investigating
+#exclude with SecurityManager
+# test execs another jvm with a relative path that means
+# the permission FilePermission("<<ALL FILES>>","execute")
+# would be required. Don't want to grant such a wide permission
+# to the testing jar.
 noSecurityManager=true
+