diff options
Diffstat (limited to 'libjava/java/lang/VMCompiler.java')
-rw-r--r-- | libjava/java/lang/VMCompiler.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libjava/java/lang/VMCompiler.java b/libjava/java/lang/VMCompiler.java index 98efc7e..3eb4491 100644 --- a/libjava/java/lang/VMCompiler.java +++ b/libjava/java/lang/VMCompiler.java @@ -1,5 +1,5 @@ /* VMClassLoader.java -- Reference implementation of compiler interface - Copyright (C) 2004 Free Software Foundation + Copyright (C) 2004, 2005 Free Software Foundation This file is part of GNU Classpath. @@ -202,6 +202,11 @@ final class VMCompiler catch (Exception _) { } + catch (UnknownError _) + { + // SharedLibHelper will throw UnknownError if the dlopen + // fails for some reason. We ignore it and continue on. + } } if (! useCompiler || ! canUseCompiler) |