Bug found in JxtaBiDiPipe.receiveMessage(timeout). How can I report it?
I have been several months using jxta for my master thesis, and I think I have found a little (but annoying) bug in JxtaBiDiPipe.receiveMessage(timeout).
(Using jxta version 2.5, java version Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04))
From the javadoc of this method:
@param timeout Amount of time to wait in milliseconds for an object to
* be available. Per Java convention, a timeout of zero (0) means wait an
* infinite amount of time. Negative values mean do not wait at all.
The thing is that using here a timeout of 0 is the same as using negative timeout (do not wait).
About the reason, I think that the method just relies the timeout to ArrayBlockingQueue.poll(long timeout, TimeUnit timeunit), and this just returns null if the timeout is 0.
This is quite annoying because it can lead to a busy wait loop...
Where could I post this bug in order for the developers to check it? My apologies if this is not the good place to ask this question, and also about my poor English.
Thanks for your help.