VMCompiler.java (compileClass): Ignore UnknownError.
* java/lang/VMCompiler.java (compileClass): Ignore UnknownError. * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose if 'handler' is valid. From-SVN: r93927
This commit is contained in:
parent
4366cf6d6f
commit
af84b3d056
3 changed files with 15 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue