spec: no capture conversion applicable for array type; capture conversion must be applied for array access expression type; javac: no capture conversion is applicable for array access expressions with write access (IDEA-157295)

This commit is contained in:
Anna Kozlova
2016-06-22 15:24:15 +03:00
parent 848699b440
commit 1c52cb7fd6
4 changed files with 19 additions and 5 deletions
@@ -0,0 +1,11 @@
import java.util.*;
class Test {
private void foo() {
List<Class<?>> parameterTypes = Arrays.asList(getParameterTypes());
}
private Class<?>[] getParameterTypes() {
return null;
}
}