On Thu, Apr 21, 2005 at 01:34:53PM +0200, Jeroen van Wolffelaar wrote: > On Wed, Apr 20, 2005 at 10:12:02PM -0700, [EMAIL PROTECTED] wrote: > > Package: kaffe > > Version: 1.1.5-2 > > > > I got this error with kaffe - > > > > > > [...] > > java.io.IOException: java.nio.FileChannelImpl.lock(): not implemented > > at gnu.java.nio.channels.FileChannelImpl.lock (FileChannelImpl.java) > > at gnu.java.nio.channels.FileChannelImpl.lock > > (FileChannelImpl.java:471) > > at net.nutch.fs.LocalFileSystem.lock (LocalFileSystem.java:208) > > at net.nutch.db.WebDBWriter.<init> (WebDBWriter.java:1466) > > at net.nutch.db.WebDBWriter.createWebDB (WebDBWriter.java:1425) > > at net.nutch.tools.WebDBAdminTool.main (WebDBAdminTool.java:159) > > at net.nutch.tools.CrawlTool.main (CrawlTool.java:120) > > [...] > > Hm, that looks suspiciously like what > 05_TestSerializable2_amd64.patch changes! > > Submitter, please give more information about your system (like, what > you've got if you used reportbug), like uname -a, versions of kaffe & > depending packages, etc etc. I see you use kaffe 1.1.5-2, 1.1.5-3 is in > unstable, please also retest with that version.
In this case the method java.nio.FileChannelImpl.lock() is just not correctly implemeted and just throws an exception saying "not implemented". Just noone did it yet. I have some prelimiary code for GNU classpath written in JNI for this. Perhaps kaffe will simply merge ant dont write its own KNI version. Michael -- Escape the Java Trap with GNU Classpath! http://www.gnu.org/philosophy/java-trap.html Join the community at http://planet.classpath.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

