Message4509

Author kfitch42
Recipients kfitch42, markku_hanninen
Date 2009-04-15.02:58:45
SpamBayes Score 1.0143275e-11
Marked as misclassified No
Message-id <1239764326.73.0.0013036558789.issue1316@psf.upfronthosting.co.za>
In-reply-to
Content
Hmm, it looks like you have found a curious corner. It seems that when
respectJavaAccessibility=false the wrong overloaded function gets
picked. The Java docs for OutputStream list two functions named write
that take a single argument. One takes a byte array the other takes an
int. Clearly the one we want to be calling from that line is the byte
array version.

On a side note, the reason setting a timeout makes a difference here is
that the networking code has two modes of operation (1) When no socket
level timeouts are set it uses the java.nio classes, (2) when a timeout
is set it uses java.net classes, because nio doesn't support timeouts.
History
Date User Action Args
2009-04-15 02:58:46kfitch42setmessageid: <1239764326.73.0.0013036558789.issue1316@psf.upfronthosting.co.za>
2009-04-15 02:58:46kfitch42setrecipients: + kfitch42, markku_hanninen
2009-04-15 02:58:46kfitch42linkissue1316 messages
2009-04-15 02:58:45kfitch42create