CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Mark Wielaard <[EMAIL PROTECTED]>       05/07/11 17:27:55

Modified files:
        .              : ChangeLog 
        include        : gnu_java_nio_channels_FileChannelImpl.h 
        gnu/java/nio/channels: FileChannelImpl.java 
        native/jni/java-nio: gnu_java_nio_channels_FileChannelImpl.c 

Log message:
        * gnu/java/nio/channels/FileChannelImpl.java (force): New native
        method.
        (force(boolean)): Call new native force method.
        * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
        (Java_gnu_java_nio_channels_FileChannelImpl_read__):
        Test for result != TARGET_NATIVE_OK as stop condition.
        (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
        Check overflow and underflow. Only increase bytes_read when
        we didn't get an error.
        (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
        Return when we encounter an error.
        (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
        Only increase bytes_written when we didn't get an error.
        (Java_gnu_java_nio_channels_FileChannelImpl_force): New function.
        * include/gnu_java_nio_channels_FileChannelImpl.h: Regenerated.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4048&tr2=1.4049&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/include/gnu_java_nio_channels_FileChannelImpl.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/gnu/java/nio/channels/FileChannelImpl.java.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c.diff?tr1=1.17&tr2=1.18&r1=text&r2=text



_______________________________________________
Commit-classpath mailing list
Commit-classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/commit-classpath

Reply via email to