db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject svn commit: r462607 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/j9_foundation.java
Date Tue, 10 Oct 2006 22:23:46 GMT
Author: mikem
Date: Tue Oct 10 15:23:45 2006
New Revision: 462607

URL: http://svn.apache.org/viewvc?view=rev&rev=462607
Log:
DERBY-1785
contributed by Myrna van Lunteren
patch: DERBY-1785_20061007.diff

Attaching a band-aid patch for this issue. I chose to comment out the method 
rather than remove as a way to document the quirky behavior.

Having the method setSecurityProps overload the one in jvm.java causes 
problems when running the junit tests - they *do* successfully run with 
securityManager.
Foundation class tests actually run ok with security manager - except when 
useprocess is false. This is caused by a bug in the jvm. See also DERBY-885.



Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/j9_foundation.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/j9_foundation.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/j9_foundation.java?view=diff&rev=462607&r1=462606&r2=462607
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/j9_foundation.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/j9_foundation.java
Tue Oct 10 15:23:45 2006
@@ -128,9 +128,13 @@
     }
 	public String getDintro() { return "-D"; }
 
-	protected void setSecurityProps()
-	{
-		System.out.println("Note: J9 (foundation) tests do not run with security manager");		
-	}
+// Having the following method overload the one in jvm.java causes problems when running
+// the junit tests - they *do* successfully run with securityManager.
+// Foundation class tests actually run ok with security manager - except when useprocess
+// is false. This is caused by a bug in the jvm. See also DERBY-885 and DERBY-1785.
+//	protected void setSecurityProps()
+//	{
+//		System.out.println("Note: J9 (foundation) tests do not run with security manager");	

+//	}
 
 }



Mime
View raw message