Inspection BUG in IntelliJ IDEA 2023.3.2 (Community Edition)
Answered
```
import static java.util.Arrays.copyOf;
import java.util.AbstractList;
public class Main<T> extends AbstractList<T> {
@Override
public T get(int index) {
return null;
}
@Override
public int size() {
return 0;
}
protected static class Node {
protected void copy() {
int[] ary = new int[]{1,2,3,4,5};
copyOf(ary, 6);
}
}
public static void main(String[] args) {
Main<String> main = new Main<>();
}
}
```
Please sign in to leave a comment.
above code can run but have a compile error in IntelliJ IDEA 2023.3.2 (Community Edition)
We'll follow you there. Please watch the YouTrack item in order to be notified once it has updates. See [this article](https://intellij-support.jetbrains.com/hc/articles/207241135) if you are not familiar with YouTrack.