db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1143093 - /db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/ij.jj
Date Tue, 05 Jul 2011 15:07:29 GMT
Author: kahatlen
Date: Tue Jul  5 15:07:29 2011
New Revision: 1143093

URL: http://svn.apache.org/viewvc?rev=1143093&view=rev
Log:
DERBY-5311: Convert tools/ij4.sql to junit

Get system property in privileged block.

Modified:
    db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/ij.jj

Modified: db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/ij.jj
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/ij.jj?rev=1143093&r1=1143092&r2=1143093&view=diff
==============================================================================
--- db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/ij.jj (original)
+++ db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/ij.jj Tue Jul  5 15:07:29
2011
@@ -495,7 +495,8 @@ class ij {
 	}
 
 	private boolean getExpect() {
-		return Boolean.getBoolean("ij.expect");
+		String s = util.getSystemProperty("ij.expect");
+		return Boolean.valueOf(s).booleanValue();
 	}
 
 	private	ijResult	addSession



Mime
View raw message