db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r1581935 - in /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang: LuceneSupportPermsTest.java luceneSupport.policy
Date Wed, 26 Mar 2014 17:01:10 GMT
Author: rhillegas
Date: Wed Mar 26 17:01:10 2014
New Revision: 1581935

URL: http://svn.apache.org/r1581935
Log:
DERBY-590: Fix two problems seen in LuceneSupportPermsTest during the continuous integregation
and nightly tests; commit derby-590-05-aa-accessDeclaredMembers.diff.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LuceneSupportPermsTest.java
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/luceneSupport.policy

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LuceneSupportPermsTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LuceneSupportPermsTest.java?rev=1581935&r1=1581934&r2=1581935&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LuceneSupportPermsTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LuceneSupportPermsTest.java
Wed Mar 26 17:01:10 2014
@@ -342,6 +342,8 @@ public class LuceneSupportPermsTest exte
         Connection  dboConnection = openUserConnection( TEST_DBO );
         Connection  ruthConnection = openUserConnection( RUTH );
 
+        createSchema( ruthConnection, Types.INTEGER );
+
         goodStatement( dboConnection, "grant execute on procedure syscs_util.syscs_register_tool
to public" );
 
         // only the DBO can load the tool
@@ -370,6 +372,7 @@ public class LuceneSupportPermsTest exte
         // try loading and unloading again for good measure
         goodStatement( dboConnection, LOAD_TOOL );
         goodStatement( dboConnection, UNLOAD_TOOL );
+        dropSchema( ruthConnection );
     }
     
     /**

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/luceneSupport.policy
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/luceneSupport.policy?rev=1581935&r1=1581934&r2=1581935&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/luceneSupport.policy
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/luceneSupport.policy
Wed Mar 26 17:01:10 2014
@@ -144,6 +144,7 @@ grant codeBase "${derbyTesting.codejar}d
   // extra permissions needed for the Lucene plugin
   permission java.io.FilePermission "${derbyTesting.lucene.core.jar.file}", "read";
   permission java.util.PropertyPermission "user.dir", "read";
+  permission java.lang.RuntimePermission "accessDeclaredMembers";
 };
 
 //
@@ -461,5 +462,6 @@ grant codeBase "${derbyTesting.lucene.co
   // Basic permissions needed for Lucene to work:
   permission java.util.PropertyPermission "user.dir", "read";
   permission java.util.PropertyPermission "sun.arch.data.model", "read";
+  permission java.lang.RuntimePermission "accessDeclaredMembers";
 };
 



Mime
View raw message