db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r442464 - in /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet: sysinfo.policy sysinfo_withproperties.policy
Date Tue, 12 Sep 2006 05:59:34 GMT
Author: kahatlen
Date: Mon Sep 11 22:59:34 2006
New Revision: 442464

URL: http://svn.apache.org/viewvc?view=rev&rev=442464
Log:
DERBY-1832: sysinfo test fails with "access denied
(java.util.PropertyPermission java.class.path read)" when
derbyclient.jar is first in classpath

Grant derbyclient.jar privileges needed for sysinfo and
sysinfo_withproperties.

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/sysinfo.policy
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/sysinfo.policy?view=diff&rev=442464&r1=442463&r2=442464
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/sysinfo.policy
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/sysinfo.policy
Mon Sep 11 22:59:34 2006
@@ -26,3 +26,9 @@
   //client side: test execs another jvm with relative path
   permission java.io.FilePermission "<<ALL FILES>>", "execute";
 };
+
+// See DERBY-1832
+grant codeBase "${derbyTesting.codejar}/derbyclient.jar" {
+  permission java.io.FilePermission "${derbyTesting.codedir}${/}*", "read";
+  permission java.util.PropertyPermission "java.class.path", "read";
+};

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/sysinfo_withproperties.policy
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/sysinfo_withproperties.policy?view=diff&rev=442464&r1=442463&r2=442464
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/sysinfo_withproperties.policy
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/sysinfo_withproperties.policy
Mon Sep 11 22:59:34 2006
@@ -26,3 +26,9 @@
   //client side: test execs another jvm with relative path
   permission java.io.FilePermission "<<ALL FILES>>", "execute";
 };
+
+// See DERBY-1832
+grant codeBase "${derbyTesting.codejar}/derbyclient.jar" {
+  permission java.io.FilePermission "${derbyTesting.codedir}${/}*", "read";
+  permission java.util.PropertyPermission "java.class.path", "read";
+};



Mime
View raw message