[kaffe] [PATCH] fixing UDP receive timeout (makes mauve not hang on CVS head)

Dalibor Topic robilad at kaffe.org
Thu Sep 9 17:04:05 PDT 2004

Hi Noa,

Noa Resare wrote:
> For some reason beyond my understanding I decided that I should devote
> some of my very few hacking cycles to kaffe. However, being sort of a
> newbie in the JVM hacking business I didn't feel comfortable doing
> anything before I could regression test any contributions. So I had a
> look at mauve and got it to work with kaffe-1.1.4. kaffe from cvs HEAD
> on the other hand hang on a java.net.DatagramSocket test.

Wow, thanks a lot for fixing that one!It's been a long time bug that 
noone got around to fix. Thanks again!

Feel free to improve anything else you come across, your debut was very 
good ;)

> Issues:
> - is poll() available on all relevant systems?

I believe that it is available with pthreads.

> - should the socket be permanently non blocking?

I've CC:ed Tim Stack[1] & Guilhem Lavaux on that one.

> please apply :)

With the greatest pleasure.

On a side note, as you're (hopefully) planning to contribute a few more 
patches in your kaffe hacking career, I need to ask you whether you're 
tainted, i.e. if you have looked at Sun's source code, decompiled it, or 
signed NDAs that prevent you from contributing.

Sounds weird, I know, but I wouldn't like someone pulling an SCO on us.

dalibor topic

[1] Back from vacations, I see :)

More information about the kaffe mailing list