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 rh...@apache.org on 2014/09/22 14:39:06 UTC
svn commit: r1626757 -
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy
Author: rhillegas
Date: Mon Sep 22 12:39:05 2014
New Revision: 1626757
URL: http://svn.apache.org/r1626757
Log:
DERBY-6648: Grant usederbyinternals permission to the classes directory to fix tests which don't run against the Derby jar files; commit derby-6648-02-aa-packagePrivateTests.diff.
Modified:
db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy
Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy?rev=1626757&r1=1626756&r2=1626757&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy Mon Sep 22 12:39:05 2014
@@ -319,6 +319,9 @@ grant codeBase "${derbyTesting.codeclass
permission java.util.PropertyPermission "derby.*", "read";
permission java.lang.RuntimePermission "createClassLoader";
+ // Needed for the engine to access its internal structures
+ permission org.apache.derby.security.SystemPermission "engine", "usederbyinternals";
+
// permissions so that we can set the context class loader to
// null for daemon threads to avoid class loader leak.
// DERBY-3745