From derby-commits-return-10241-apmail-db-derby-commits-archive=db.apache.org@db.apache.org Tue May 13 15:33:43 2008 Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 63877 invoked from network); 13 May 2008 15:33:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 May 2008 15:33:42 -0000 Received: (qmail 30698 invoked by uid 500); 13 May 2008 15:33:44 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 30677 invoked by uid 500); 13 May 2008 15:33:44 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 30666 invoked by uid 99); 13 May 2008 15:33:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2008 08:33:44 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2008 15:33:06 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 252B62388A0D; Tue, 13 May 2008 08:33:22 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: derby-commits@db.apache.org From: kmarsden@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080513153322.252B62388A0D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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";