[Bug libgcj/21136] [4.0 only] tryLock waits for the lock, and lock doesn't

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Apr 29 18:40:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-04-29 18:40 -------
Subject: Bug 21136

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	tromey@gcc.gnu.org	2005-04-29 18:40:00

Modified files:
	libjava        : ChangeLog 
	libjava/gnu/java/nio/channels: FileChannelImpl.java 

Log message:
	2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
	
	PR libgcj/21136:
	* gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
	'false' to native lock().
	(lock): Pass 'true' to native lock().

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3391.2.55&r2=1.3391.2.56
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gnu/java/nio/channels/FileChannelImpl.java.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.7.4.1&r2=1.7.4.2



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21136



More information about the Gcc-bugs mailing list