fix compiler error on processing bad code
authorcrawshaw <crawshaw@ibex.org>
Wed, 5 Jan 2005 19:04:52 +0000 (19:04 +0000)
committercrawshaw <crawshaw@ibex.org>
Wed, 5 Jan 2005 19:04:52 +0000 (19:04 +0000)
darcs-hash:20050105190452-2eb37-0383cea163b956f51e6a116ecbb4aafd42dda488.gz

src/org/ibex/tool/Compiler.java

index 9878cc9..f79f461 100644 (file)
@@ -383,6 +383,7 @@ public class Compiler {
                     bytes(c), (str(p, '/') + '/' + classname).toCharArray()));
                 return new NameEnvironmentAnswer(b, access);
             } catch (ClassNotFoundException e) {
                     bytes(c), (str(p, '/') + '/' + classname).toCharArray()));
                 return new NameEnvironmentAnswer(b, access);
             } catch (ClassNotFoundException e) {
+            } catch (LinkageError e) {
             } catch (ClassFormatException e) {
                 e.printStackTrace();
                 throw new Error("ClassFormatException reading system class: " +
             } catch (ClassFormatException e) {
                 e.printStackTrace();
                 throw new Error("ClassFormatException reading system class: " +