VMCompiler.java (static block): Also catch BufferUnderflowException.
authorTom Tromey <tromey@redhat.com>
Mon, 21 Mar 2005 20:59:18 +0000 (20:59 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Mon, 21 Mar 2005 20:59:18 +0000 (20:59 +0000)
* java/lang/VMCompiler.java (static block): Also catch
BufferUnderflowException.

From-SVN: r96832

libjava/ChangeLog
libjava/java/lang/VMCompiler.java

index 2d96511361f705c4dc94ed4bca04adec76c6b3c7..660f30e4ba8bf69806305ffeb7647b18610c51f7 100644 (file)
@@ -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
index 784a816c59cef48f431a954ce93908fdfa5c7468..6961a31d905943c220f7c6a7b46c7fbcd2adf08e 100644 (file)
@@ -141,6 +141,10 @@ final class VMCompiler
              catch (java.io.IOException _)
                {
                }
+             catch (java.nio.BufferUnderflowException _)
+               {
+                 // Invalid map file.
+               }
            }
        }
       }