CJun
CJun
Hi @jlerbsc I'm sure my declaration can compile. I declare an annotation ToDo ``` @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface ToDo { String items()[]; } ``` Define a class ToDoUse, add annotations...
The result of my test is that the array before and after does not affect the compilation and operation.
> 你的java版本是多少? jdk8 ``` java version "1.8.0_321" Java(TM) SE Runtime Environment (build 1.8.0_321-b07) Java HotSpot(TM) 64-Bit Server VM (build 25.321-b07, mixed mode) ```
I use Intellij IDEA . Can this problem be fixed?