mirror of
https://github.com/konsoletyper/teavm.git
synced 2025-02-23 11:29:56 +08:00
Workaround for bug in ASM which adds java/lang/Synthetic annotation twice. Should fix #278
This commit is contained in:
parent
d882fd14a6
commit
7019e1ada6
@ -343,6 +343,11 @@ public class Parser {
|
||||
desc = desc.substring(1, desc.length() - 1);
|
||||
}
|
||||
desc = desc.replace('/', '.');
|
||||
|
||||
if (annotations.get(desc) != null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
AnnotationHolder annot = new AnnotationHolder(desc);
|
||||
parseAnnotationValues(annot, annotNode.values);
|
||||
annotations.add(annot);
|
||||
|
Loading…
Reference in New Issue
Block a user