From: <tho...@us...> - 2014-04-07 11:45:54
|
Revision: 8064 http://sourceforge.net/p/bigdata/code/8064 Author: thompsonbry Date: 2014-04-07 11:45:51 +0000 (Mon, 07 Apr 2014) Log Message: ----------- Bug fix for child process helper. See #871 (interrupt handling code review). Modified Paths: -------------- branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/counters/ProcessReaderHelper.java Modified: branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/counters/ProcessReaderHelper.java =================================================================== --- branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/counters/ProcessReaderHelper.java 2014-04-06 16:38:08 UTC (rev 8063) +++ branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/counters/ProcessReaderHelper.java 2014-04-07 11:45:51 UTC (rev 8064) @@ -84,11 +84,11 @@ */ public String readLine() throws IOException, InterruptedException { - final Thread t = Thread.currentThread(); +// final Thread t = Thread.currentThread(); while(getActiveProcess().isAlive()) { - if(t.isInterrupted()) { + if(Thread.interrupted()) { throw new InterruptedException(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |