This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/24834] New: PersistentByteMap close() method is not catching Exception


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]