public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/24834]  New: PersistentByteMap close() method is not catching Exception
@ 2005-11-13 12:08 m4341 at abc dot se
  2005-11-14 13:18 ` [Bug libgcj/24834] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: m4341 at abc dot se @ 2005-11-13 12:08 UTC (permalink / raw)
  To: java-prs

the close() method from java.nio.channels.FileChannel (through
java.nio.channels.spi.AbstractInterruptibleChannel) is throwing an exception
inside the close() method in gnu.gcj.runtime.PersistentByteMap.

This can be resolved in two ways:
1. Catch the Exception in the close() method and just drop the Exception.
(since it's a close that fails it shouldn't cause too much trouble).
2. Let the close() method throw it further up in the hirearchy. (formally
right, but is it needed?)


-- 
           Summary: PersistentByteMap close() method is not catching
                    Exception
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: m4341 at abc dot se


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


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

end of thread, other threads:[~2006-03-08  0:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-13 12:08 [Bug libgcj/24834] New: PersistentByteMap close() method is not catching Exception m4341 at abc dot se
2005-11-14 13:18 ` [Bug libgcj/24834] " pinskia at gcc dot gnu dot org
2005-11-14 18:42 ` m4341 at abc dot se
2006-03-08  0:37 ` 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).