This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [MinGW]: Reset/Ignore Thread Interruption for Plain[Datagram]SocketImpl


Hi Bryce,

>> Like you, I hoped the situation would improve for java.nio, but it
>> only has somewhat. My channels tests show that under Sun's JRE,
>> when you interrupt a thread that's blocked under Selector.select(),
>> you can reliably query the thread's interrupted status immediately
>> under Linux, but not on Windows.
>
>Surely that behaviour is a bug - it directly contradicts the spec for 
>Selector....

I agree.

>> If you're interested, take NetTest.java (attached here):
>>
>> http://gcc.gnu.org/ml/java-patches/2003-q4/msg00736.html
>>
>> ...for a spin under Sun's JRE as well as both pre-patch and
>> post-patch gcj and see what you think.
>
>Thats a nice test. Have you thought about adapting it into one or more 
>mauve tests?

I have. I really do want to be a team player and figure all of this stuff
out. Is there any link that talks about the different tests: jacks, the
libjava tests, Mauve and what a POSIX person typically does to certify
his or her stuff? I'm still confused and overwhelmed by this.

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]