[kaffe] Turn nio locks unimplemented exceptions into IOExceptions
Dalibor Topic
robilad at kaffe.org
Sun Nov 14 14:06:29 PST 2004
Mark Wielaard wrote:
> Hi,
>
> Apparently some parts of Eclipse 3 do try to use the new io file locks
> even when told not to. If the acquiring of the lock throws an
> IOException (as in GNU Classpath) everything works regardless. This
> patch makees the Kaffe library implementation behave the same as the GNU
> Classpath one:
>
> 2004-11-14 Mark Wielaard <mark at klomp.org>
>
> libraries/clib/nio/FileChannelImpl.c
> (Java_gnu_java_nio_channels_FileChannelImpl_lock):
> Throw IOException.
> (Java_gnu_java_nio_channels_FileChannelImpl_unlock):
> Likewise.
>
> With this and the other patches I sent you can start playing with
> Eclipse 3. It doesn't work flawlessly yet though. Importing GNU
> Classpath from CVS for example works, but as soon as you start to edit
> or compile anything it breaks down. Clear error messages are thrown on
> the console though, so I hope someone finds that helpful to create
> further fixes.
thanks a lot for all that work! I've checked this one in as well.
cheers,
dalibor topic
More information about the kaffe
mailing list