diff options
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 4 | ||||
-rw-r--r-- | libjava/gnu/java/nio/FileLockImpl.java | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 49a0ae5..d9b9a35 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,9 @@ 2004-01-23 Michael Koch <konqueror@gmx.de> + * gnu/java/nio/FileLockImpl.java: Compile fixes. + +2004-01-23 Michael Koch <konqueror@gmx.de> + * java/lang/VMClassLoader.java: Reworked imports. 2004-01-23 Michael Koch <konqueror@gmx.de> diff --git a/libjava/gnu/java/nio/FileLockImpl.java b/libjava/gnu/java/nio/FileLockImpl.java index b621bd2..9384bf6 100644 --- a/libjava/gnu/java/nio/FileLockImpl.java +++ b/libjava/gnu/java/nio/FileLockImpl.java @@ -82,8 +82,7 @@ public class FileLockImpl extends FileLock public boolean isValid () { - return (released - || !channel ().isOpen ()); + return !channel().isOpen(); } private native void releaseImpl () throws IOException; @@ -91,6 +90,5 @@ public class FileLockImpl extends FileLock public synchronized void release () throws IOException { releaseImpl (); - released = true; } } |