diff options
author | Tom Tromey <tromey@redhat.com> | 2005-03-21 20:59:18 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2005-03-21 20:59:18 +0000 |
commit | 1ccc1c82d8e0aaaa41bf4a020db3fd5e23965d9f (patch) | |
tree | 0920c28faa44a75e3e05a921dfc6193506845696 /libjava | |
parent | 6ec4845e26d1a6f4a3536e86e6beaf209903e92c (diff) | |
download | gcc-1ccc1c82d8e0aaaa41bf4a020db3fd5e23965d9f.zip gcc-1ccc1c82d8e0aaaa41bf4a020db3fd5e23965d9f.tar.gz gcc-1ccc1c82d8e0aaaa41bf4a020db3fd5e23965d9f.tar.bz2 |
VMCompiler.java (static block): Also catch BufferUnderflowException.
* java/lang/VMCompiler.java (static block): Also catch
BufferUnderflowException.
From-SVN: r96832
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/java/lang/VMCompiler.java | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 2d96511..660f30e 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 784a816..6961a31 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. + } } } } |