This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] buglets in file locking


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]