I'll check it out as soon as I get a chance. PS How do you stand on the release vote?
Cheers Rory "Jakarta Commons Developers List" <[email protected]> wrote: > > Rory Winston wrote: > > When I was cutting the RC for Commons::Net, the TelnetClientTest repeatedly > > failed. I tracked this down to the line: > > > > if(is1.available() == 6) > > > > The available() method continually returned 0. When I commented out the > > available() check, the test passed as expected. I compiled with Java 5. > > > > The issue is that the test expected the socket's InputStream to return the > > #bytes queued up (6), whereas it actually returned 0, but it still read the > > bytes correctly on a read(). > > > > Anyone know if this is expected/reasonable behaviour? I havent looked into > > it yet, but if anyone has any insight, it would be appreciated. > > > > Cheers > > Rory > > > > > > _________________________________________________________________ > > Sign up for eircom broadband now and get a free two month trial.* > > Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > Using J2SDK 1.4.2_07-b05 on Linux both for compiling and running, the > test passes. What platform are you using? > > However, I think the real culprit may turn out to be 1.5. Have you > tried a 1.4 JDK? Are there any commons standards about what JDK a > binary distribution should have been compiled with? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > _________________________________________________________________ Sign up for eircom broadband now and get a free two month trial.* Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
