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: Tom Tromey <tromey at redhat dot com>
- To: Casey Marshall <csm at gnu dot org>
- Cc: java-patches at gcc dot gnu dot org
- Date: 16 Nov 2004 09:40:07 -0700
- Subject: Re: [PATCH] buglets in file locking
- References: <87r7mz4n3x.fsf@gnu.org> <87is8ahhq2.fsf@metastatic.org>
- Reply-to: tromey at redhat dot com
>>>>> "Casey" == Casey Marshall <csm@gnu.org> writes:
Casey> * gnu/java/nio/FileLock.java (isValid): locks are valid if the
Casey> channel is open.
Casey> Come to think of it, this isn't true, either, since I suppose one
Casey> could release() a lock before closing the channel.
Casey> But it is still wrong that a closed file == valid lock.
If nobody is actively working on this, could you file a PR?
Tom