Commit e4fbbcf2 authored by Skylot's avatar Skylot

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

parent 9afacf72
...@@ -152,7 +152,7 @@ public class ClassNode extends LineAttrNode implements ILoadable { ...@@ -152,7 +152,7 @@ public class ClassNode extends LineAttrNode implements ILoadable {
if (offset != 0) { if (offset != 0) {
try { try {
new AnnotationsParser(this).parse(offset); new AnnotationsParser(this).parse(offset);
} catch (DecodeException e) { } catch (Exception e) {
LOG.error("Error parsing annotations in {}", this, e); LOG.error("Error parsing annotations in {}", this, e);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment