Annotations may get duplicated when using assembler
See original GitHub issueDescribe the bug
If I save the assembler window multiple times, then the annoation of the method gets duplicated. I guess duplicate annotations could get stripped, since they appear to be illegal bytecode see blow; however I am not an expert in this topic
java.lang.annotation.AnnotationFormatError: Duplicate annotation for class: interface org.bukkit.event.EventHandler: @org.bukkit.event.EventHandler(priority=NORMAL, ignoreCancelled=false)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:126) ~[?:?]
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:73) ~[?:?]
at java.lang.reflect.Executable.declaredAnnotations(Executable.java:604) ~[?:?]
at java.lang.reflect.Executable.declaredAnnotations(Executable.java:602) ~[?:?]
at java.lang.reflect.Executable.getAnnotation(Executable.java:572) ~[?:?]
at java.lang.reflect.Method.getAnnotation(Method.java:695) ~[?:?]
<snip>
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
De-duplicate identical issue annotations from problemMatchers
Here is an extremely simple reproduction where I am getting duplicate annotations using problem matchers, it appears to be a bug in the ......
Read more >Duplicated classes in Intellij IDEA when using Android ...
This problem will be fixed in IDEA 12.0.1. Workaround for 12.0 build: explicitly exclude the root with the generated sources from compilation. You...
Read more >High duplicate BUSCOs after annotation but not assembly
I annotated with a close relative as a reference, with Maker set for Eukaryota, and I used BUSCO 5.2.2 with Endopterygota odb10. According...
Read more >[SOLVED] Java Compiler duplicates annotations - SpigotMC
Hi, has anyone experience with javac duplicating some annotations? For example, following method: @NotNull Path add(@Nullable Object key); ...
Read more >Long-read sequence and assembly of segmental duplications
Sequence reads assigned to each PSV cluster are independently assembled using Canu and error-corrected using Quiver. The approach: Segmental ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
K, I’ll test it right away
Edit: appears to work 🎉
Seems to be fixed with 3c69b23e079397dbfe91ba14c7224bef61a84fc2, release should be out when CI finishes