public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/21372] New: FileChannel.tryLock() return value incorrect
@ 2005-05-03 21:23 overholt at redhat dot com
  2005-05-03 21:24 ` [Bug libgcj/21372] " overholt at redhat dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: overholt at redhat dot com @ 2005-05-03 21:23 UTC (permalink / raw)
  To: java-prs

According to the spec, FileChannel.tryLock() should return null in the event
that it cannot acquire a lock.  libgcj's implementation does not currently do
this and returns a FileLock object even though the lock has not been acquired. 
See attached test case.

-- 
           Summary: FileChannel.tryLock() return value incorrect
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: overholt at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


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


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

end of thread, other threads:[~2005-05-03 22:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-03 21:23 [Bug libgcj/21372] New: FileChannel.tryLock() return value incorrect overholt at redhat dot com
2005-05-03 21:24 ` [Bug libgcj/21372] " overholt at redhat dot com
2005-05-03 21:28 ` overholt at redhat dot com
2005-05-03 21:29 ` overholt at redhat dot com
2005-05-03 21:44 ` overholt at redhat dot com
2005-05-03 21:54 ` tromey at gcc dot gnu dot org
2005-05-03 21:56 ` pinskia at gcc dot gnu dot org
2005-05-03 21:57 ` mckinlay at redhat dot com
2005-05-03 22:39 ` cvs-commit at gcc dot gnu dot org
2005-05-03 22:47 ` cvs-commit at gcc dot gnu dot org
2005-05-03 22:48 ` 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).