Author kevinmcmurtrie
Recipients fwierzbicki, kevinmcmurtrie
Date 2012-08-28.20:47:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The simplest test case it:
   new InteractiveConsole().interact();
Nothing executes until pressing ctrl-D.

It looks like the problem is caused by incorrectly stealing the code from java.nio.channels.Channels$  This very critical bit is missing in 2.5.3's custom implementation:

if ((totalRead > 0) && !(in.available() > 0))
    break; // block at most once

Without this, it keeps making blocking reads until the buffer is full or the stream is closed.
Date User Action Args
2012-08-28 20:47:37kevinmcmurtriesetmessageid: <>
2012-08-28 20:47:37kevinmcmurtriesetrecipients: + kevinmcmurtrie, fwierzbicki
2012-08-28 20:47:37kevinmcmurtrielinkissue1967 messages
2012-08-28 20:47:37kevinmcmurtriecreate