core: skip annotations parsing if error occurs (#57)

This commit is contained in:
Skylot
2015-03-25 22:30:22 +03:00
parent 9afacf72f8
commit e4fbbcf2d6
@@ -152,7 +152,7 @@ public class ClassNode extends LineAttrNode implements ILoadable {
if (offset != 0) {
try {
new AnnotationsParser(this).parse(offset);
} catch (DecodeException e) {
} catch (Exception e) {
LOG.error("Error parsing annotations in {}", this, e);
}
}