public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/21136] New: tryLock waits for the lock, and lock doesn't
@ 2005-04-21  0:25 luca dot barbieri at gmail dot com
  2005-04-21  0:25 ` [Bug libgcj/21136] " luca dot barbieri at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: luca dot barbieri at gmail dot com @ 2005-04-21  0:25 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-04-29 18:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-21  0:25 [Bug libgcj/21136] New: tryLock waits for the lock, and lock doesn't luca dot barbieri at gmail dot com
2005-04-21  0:25 ` [Bug libgcj/21136] " luca dot barbieri at gmail dot com
2005-04-26 21:49 ` tromey at gcc dot gnu dot org
2005-04-26 21:49 ` cvs-commit at gcc dot gnu dot org
2005-04-26 22:02 ` [Bug libgcj/21136] [4.0 only] " pinskia at gcc dot gnu dot org
2005-04-26 22:03 ` pinskia at gcc dot gnu dot org
2005-04-28 10:59 ` aph at gcc dot gnu dot org
2005-04-29 18:40 ` cvs-commit at gcc dot gnu dot org
2005-04-29 18:41 ` tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).