[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: small fix for nio file locking

Kaffe CVS cvs-commits at kaffe.org
Fri Nov 26 16:28:59 PST 2004


PatchSet 5494 
Date: 2004/11/27 00:24:53
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: small fix for nio file locking

2004-11-26  Dalibor Topic  <robilad at kaffe.org>

        *  libraries/javalib/gnu/java/nio/FileLock.java:
        Resynced with GNU Classpath.

        2004-11-18  Casey Marshall  <csm at gnu.org>

        * gnu/java/nio/FileLock.java (isValid): locks are valid if the
        channel is open.

Members: 
	ChangeLog:1.3040->1.3041 
	libraries/javalib/gnu/java/nio/FileLockImpl.java:1.8->1.9 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3040 kaffe/ChangeLog:1.3041
--- kaffe/ChangeLog:1.3040	Fri Nov 26 23:07:48 2004
+++ kaffe/ChangeLog	Sat Nov 27 00:24:53 2004
@@ -1,5 +1,15 @@
 2004-11-26  Dalibor Topic  <robilad at kaffe.org>
 
+	*  libraries/javalib/gnu/java/nio/FileLock.java:
+        Resynced with GNU Classpath.
+
+	2004-11-18  Casey Marshall  <csm at gnu.org>
+
+        * gnu/java/nio/FileLock.java (isValid): locks are valid if the
+        channel is open.
+
+2004-11-26  Dalibor Topic  <robilad at kaffe.org>
+
 	*  libraries/javalib/java/awt/print/PrinterJob.java:
         Resynced with GNU Classpath.
 
Index: kaffe/libraries/javalib/gnu/java/nio/FileLockImpl.java
diff -u kaffe/libraries/javalib/gnu/java/nio/FileLockImpl.java:1.8 kaffe/libraries/javalib/gnu/java/nio/FileLockImpl.java:1.9
--- kaffe/libraries/javalib/gnu/java/nio/FileLockImpl.java:1.8	Mon Jul 26 21:13:52 2004
+++ kaffe/libraries/javalib/gnu/java/nio/FileLockImpl.java	Sat Nov 27 00:24:55 2004
@@ -72,7 +72,7 @@
   
   public boolean isValid ()
   {
-    return !channel().isOpen();
+    return channel().isOpen();
   }
 
   public synchronized void release () throws IOException




More information about the kaffe mailing list