db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1028633 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/BaseDataFileFactory.java
Date Fri, 29 Oct 2010 07:28:48 GMT
Author: kahatlen
Date: Fri Oct 29 07:28:48 2010
New Revision: 1028633

URL: http://svn.apache.org/viewvc?rev=1028633&view=rev
Log:
DERBY-4873: NullPointerException in testBoundaries with ibm jvm 1.6

Use a helper method that initializes istream if necessary before
calling println().

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/BaseDataFileFactory.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/BaseDataFileFactory.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/BaseDataFileFactory.java?rev=1028633&r1=1028632&r2=1028633&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/BaseDataFileFactory.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/data/BaseDataFileFactory.java
Fri Oct 29 07:28:48 2010
@@ -468,7 +468,7 @@ public class BaseDataFileFactory
 		}
 
 		boolean logBootTrace = PropertyUtil.getSystemBoolean(Property.LOG_BOOT_TRACE);
-		istream.println(LINE);
+		logMsg(LINE);
 		logMsg("\n" + new Date() +
                 MessageService.getTextMessage(
                     MessageId.STORE_SHUTDOWN_MSG,



Mime
View raw message