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.

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


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