[PATCH] buglets in file locking
Tom Tromey
tromey@redhat.com
Tue Nov 16 16:44:00 GMT 2004
>>>>> "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
More information about the Java-patches
mailing list