This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/24834] New: PersistentByteMap close() method is not catching Exception
- From: "m4341 at abc dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 13 Nov 2005 12:08:44 -0000
- Subject: [Bug libgcj/24834] New: PersistentByteMap close() method is not catching Exception
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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