[Bug libgcj/21136] New: tryLock waits for the lock, and lock doesn't
luca dot barbieri at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Apr 21 00:25:00 GMT 2005
In gnu.java.nio.channels.FileChannelImpl tryLock and lock call the native lock
functions with incorrect wait parameters: tryLock passes true and lock false.
Of course, tryLock should pass false and lock should pass true.
Patch attached.
--
Summary: tryLock waits for the lock, and lock doesn't
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: luca dot barbieri at gmail dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
GCC build triplet: i386-redhat-linux
GCC host triplet: i386-redhat-linux
GCC target triplet: i386-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21136
More information about the Java-prs
mailing list