-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 21
-
Component/s: tools
-
b24
-
b26
The following snippet compiles, while the grammar prohibits it:
for (int _[] : new int[][]{new int[]{1}, new int[]{2}}) { }
for (int _[] : new int[][]{new int[]{1}, new int[]{2}}) { }
- relates to
-
JDK-8302344 Compiler Implementation for Unnamed patterns and variables (Preview)
-
- Resolved
-