aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/lang/VMCompiler.java
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2005-03-21 20:59:18 +0000
committerTom Tromey <tromey@gcc.gnu.org>2005-03-21 20:59:18 +0000
commit1ccc1c82d8e0aaaa41bf4a020db3fd5e23965d9f (patch)
tree0920c28faa44a75e3e05a921dfc6193506845696 /libjava/java/lang/VMCompiler.java
parent6ec4845e26d1a6f4a3536e86e6beaf209903e92c (diff)
downloadgcc-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/java/lang/VMCompiler.java')
-rw-r--r--libjava/java/lang/VMCompiler.java4
1 files changed, 4 insertions, 0 deletions
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.
+ }
}
}
}