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 fu...@apache.org on 2006/05/22 00:01:30 UTC

svn commit: r408502 - in /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests: tests/derbynet/sysinfo_app.properties tests/derbynet/sysinfo_withproperties_app.properties tests/lang/copyfiles.ant util/derby_tests.policy

Author: fuzzylogic
Date: Sun May 21 15:01:29 2006
New Revision: 408502

URL: http://svn.apache.org/viewvc?rev=408502&view=rev
Log:
Put setIO permission back for derbyTesting.jar and codeclasses. Nist runs with
useprocess=false, so the harness needs this permission to change the system
out and error streams in execTestNoProcess(). Also remove some empty files
left by previous DERBY-892 checkin.

Removed:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/sysinfo_app.properties
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/sysinfo_withproperties_app.properties
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/copyfiles.ant
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=408502&r1=408501&r2=408502&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 Sun May 21 15:01:29 2006
@@ -106,9 +106,10 @@
   permission java.io.FilePermission "${user.dir}${/}-", "read,write,delete"; 
  
   // When running with useprocess=false need to install and uninstall
-  // the security manager.
+  // the security manager and allow setIO to change the system err and out
+  // streams. Currently the nist suite runs with useprocess=false.
   permission java.lang.RuntimePermission "setSecurityManager";
-  
+  permission java.lang.RuntimePermission "setIO"; 
 };
 
 //
@@ -137,8 +138,10 @@
   permission java.io.FilePermission "${user.dir}${/}-", "read,write,delete"; 
   
   // When running with useprocess=false need to install and uninstall
-  // the security manager.
+  // the security manager and allow setIO to change the system err and out
+  // streams. Currently the nist suite runs with useprocess=false.
   permission java.lang.RuntimePermission "setSecurityManager";
+  permission java.lang.RuntimePermission "setIO"; 
     
   // These permissions are needed to load the JCE for encryption with Sun and IBM JDK131.
   // JDK14 has the JCE  preloaded