From 69f2de23b2401a6602271262a103270a81d5f175 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Fri, 23 Jan 2004 15:53:51 +0000 Subject: FileLockImpl.java: Compile fixes. 2004-01-23 Michael Koch * gnu/java/nio/FileLockImpl.java: Compile fixes. From-SVN: r76427 --- libjava/ChangeLog | 4 ++++ libjava/gnu/java/nio/FileLockImpl.java | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'libjava') 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 + * gnu/java/nio/FileLockImpl.java: Compile fixes. + +2004-01-23 Michael Koch + * java/lang/VMClassLoader.java: Reworked imports. 2004-01-23 Michael Koch 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; } } -- cgit v1.1