From: tromey Date: Mon, 21 Mar 2005 20:59:18 +0000 (+0000) Subject: * java/lang/VMCompiler.java (static block): Also catch X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34649948916e0dba0e18473b8f57cd7250fda641;p=thirdparty%2Fgcc.git * java/lang/VMCompiler.java (static block): Also catch BufferUnderflowException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96832 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 2d96511361f7..660f30e4ba8b 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2005-03-21 Tom Tromey + + * java/lang/VMCompiler.java (static block): Also catch + BufferUnderflowException. + 2005-03-21 Zack Weinberg * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not diff --git a/libjava/java/lang/VMCompiler.java b/libjava/java/lang/VMCompiler.java index 784a816c59ce..6961a31d9059 100644 --- a/libjava/java/lang/VMCompiler.java +++ b/libjava/java/lang/VMCompiler.java @@ -141,6 +141,10 @@ final class VMCompiler catch (java.io.IOException _) { } + catch (java.nio.BufferUnderflowException _) + { + // Invalid map file. + } } } }