-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: 8
-
Component/s: infrastructure
-
None
-
b01
-
generic
-
generic
-
Not verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-2212058 | 7u2 | J. Duke | P2 | Closed | Not an Issue | |
| JDK-8163040 | openjdk7u | Kumar Srinivasan | P2 | Resolved | Fixed | master |
Recent warning fixes introduced generic array initializers with diamond (e.g., Foo<Bar>[] fooArr = new Foo<>[2];). This compiles due to a bug in the compiler and will not compile once the bug is fixed.
- backported by
-
JDK-8163040 Parts of the JDK erroneously rely on generic array initializers with diamond
-
- Resolved
-
-
JDK-2212058 Parts of the JDK erroneously rely on generic array initializers with diamond
-
- Closed
-
- relates to
-
JDK-7057297 Project Coin: diamond erroneously accepts in array initializer expressions
-
- Resolved
-