diff options
author | Michael Koch <konqueror@gmx.de> | 2004-01-23 15:53:51 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2004-01-23 15:53:51 +0000 |
commit | 69f2de23b2401a6602271262a103270a81d5f175 (patch) | |
tree | a9b5ce84341afc12d7d5b14d8d40a27a643e00be /libjava | |
parent | 0791cb20bcfa9b0b87487557be3de9b37e844f09 (diff) | |
download | gcc-69f2de23b2401a6602271262a103270a81d5f175.zip gcc-69f2de23b2401a6602271262a103270a81d5f175.tar.gz gcc-69f2de23b2401a6602271262a103270a81d5f175.tar.bz2 |
FileLockImpl.java: Compile fixes.
2004-01-23 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/FileLockImpl.java: Compile fixes.
From-SVN: r76427
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; } } |