-
Bug
-
Resolution: Fixed
-
P4
-
8u40, 9
-
b23
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8064039 | 8u45 | Vicente Arturo Romero Zaldivar | P4 | Resolved | Fixed | b01 |
JDK-8049076 | 8u40 | Vicente Arturo Romero Zaldivar | P4 | Resolved | Fixed | b01 |
JDK-8070259 | emb-8u47 | Vicente Arturo Romero Zaldivar | P4 | Resolved | Fixed | team |
public class Test {
interface Iface<T> {
String m(T... t);
}
public static void run() {
Iface<? super Integer> i = null;
i.m(Integer.valueOf(1), Integer.valueOf(1), Integer.valueOf(1));
}
}
is not being accepted by the compiler when it should
- backported by
-
JDK-8049076 javac, wildcards and generic vararg method invocation not accepted
- Resolved
-
JDK-8064039 javac, wildcards and generic vararg method invocation not accepted
- Resolved
-
JDK-8070259 javac, wildcards and generic vararg method invocation not accepted
- Resolved
- duplicates
-
JDK-8049230 Wildcard-parameterized type vararg method invocation fails to compile
- Closed
- relates to
-
JDK-8059937 wildcards and generic vararg method invocation causes runtime error
- Closed
-
JDK-8036953 Fix timing of varargs access check, per JDK-8016205
- Closed
-
JDK-8075520 Varargs access check mishandles capture variables
- Closed
-
JDK-8059926 java.lang.ClassCastException: [Ljava.lang.Number; cannot be cast to [Ljava.lang.Integer;
- Closed