This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] buglets in file locking
- From: Casey Marshall <csm at gnu dot org>
- To: java-patches at gcc dot gnu dot org
- Date: Fri, 12 Nov 2004 13:37:09 -0800
- Subject: Re: [PATCH] buglets in file locking
- References: <87r7mz4n3x.fsf@gnu.org>
>>>>> "Casey" == Casey Marshall <csm@gnu.org> writes:
Casey> * gnu/java/nio/FileLock.java (isValid): locks are valid if the
Casey> channel is open.
Come to think of it, this isn't true, either, since I suppose one
could release() a lock before closing the channel.
But it is still wrong that a closed file == valid lock.
--
Casey Marshall || csm@gnu.org