db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r655918 - /db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/unitTests/junit/SystemPrivilegesPermissionTest.policy
Date Tue, 13 May 2008 15:33:22 GMT
Author: kmarsden
Date: Tue May 13 08:33:21 2008
New Revision: 655918

URL: http://svn.apache.org/viewvc?rev=655918&view=rev
Log:
DERBY-3602 If derbytesting.jar is in a different directory than the derby jars SystemPrivilegesPermissionTest
fails with java.security.AccessControlException

port from trunk revision 655618


Modified:
    db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/unitTests/junit/SystemPrivilegesPermissionTest.policy

Modified: db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/unitTests/junit/SystemPrivilegesPermissionTest.policy
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/unitTests/junit/SystemPrivilegesPermissionTest.policy?rev=655918&r1=655917&r2=655918&view=diff
==============================================================================
--- db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/unitTests/junit/SystemPrivilegesPermissionTest.policy
(original)
+++ db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/unitTests/junit/SystemPrivilegesPermissionTest.policy
Tue May 13 08:33:21 2008
@@ -67,7 +67,7 @@
 //
 // Permissions for running the test on the jars files
 //
-grant codeBase "${derbyTesting.codejar}*" {
+grant codeBase "${derbyTesting.testjar}derbyTesting.jar" {
   // Allow tests to install and uninstall the security manager and
   // to refresh the policy
   permission java.util.PropertyPermission "java.security.policy", "read,write";



Mime
View raw message