commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] [bug #12599] gnu.java.nio.channels.FileChannelImp map, lock,


From: anonymous
Subject: [commit-cp] [bug #12599] gnu.java.nio.channels.FileChannelImp map, lock, unlock methods not implemented
Date: Fri, 8 Apr 2005 09:19:49 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; Maxthon; .NET CLR 1.1.4322)

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12599>

                 Summary: gnu.java.nio.channels.FileChannelImp map,lock,
unlock methods not implemented
                 Project: classpath
            Submitted by: None
            Submitted on: Fri 04/08/2005 at 05:19
                Category: classpath
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________

Details:

in the file gnu\java\nio\channels\FileChannelImpl.java there are 3 native
methods:

public native MappedByteBuffer mapImpl(char mode, long position, int size)
private native boolean lock(long position, long size, boolean shared, boolean
wait)
public native void unlock(long pos, long len)

which are supposed to be implemented in the
native\jni\java-nio\gnu_java_nio_channels_FileChannelImpl.c, but they are
not, "not implemented exception" is thrown instead.

Also http://www.kaffe.org/~stuart/japi/htmlout/h-jdk14-classpath.html says
that java.nio is 100% implemented but these methods are missing.











    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12599>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]