db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r655618 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/unitTests/junit/SystemPrivilegesPermissionTest.policy
Date Mon, 12 May 2008 19:44:21 GMT
Author: kmarsden
Date: Mon May 12 12:44:21 2008
New Revision: 655618

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

Fixed test specific policy file to point to testing jar instead of all jars in the codejar
directory for test specific permissions like setSecurityManager


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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/unitTests/junit/SystemPrivilegesPermissionTest.policy
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/unitTests/junit/SystemPrivilegesPermissionTest.policy?rev=655618&r1=655617&r2=655618&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/unitTests/junit/SystemPrivilegesPermissionTest.policy
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/unitTests/junit/SystemPrivilegesPermissionTest.policy
Mon May 12 12:44: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