summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-21 20:59:18 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-21 20:59:18 +0000
commit34649948916e0dba0e18473b8f57cd7250fda641 (patch)
tree0920c28faa44a75e3e05a921dfc6193506845696 /libjava
parent7363c8a8612c0fd395bf8156a1919c55a362d8be (diff)
downloadgcc-34649948916e0dba0e18473b8f57cd7250fda641.tar.gz
* 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
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/java/lang/VMCompiler.java4
2 files changed, 9 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 2d96511361f..660f30e4ba8 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-21 Tom Tromey <tromey@redhat.com>
+
+ * java/lang/VMCompiler.java (static block): Also catch
+ BufferUnderflowException.
+
2005-03-21 Zack Weinberg <zack@codesourcery.com>
* 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 784a816c59c..6961a31d905 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.
+ }
}
}
}