[Bug libgcj/24834] New: PersistentByteMap close() method is not catching Exception
m4341 at abc dot se
gcc-bugzilla@gcc.gnu.org
Sun Nov 13 12:08:00 GMT 2005
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
More information about the Gcc-bugs
mailing list