-
Bug
-
Resolution: Fixed
-
P4
-
6
-
b03
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2152445 | OpenJDK6 | Jonathan Gibbons | P3 | Closed | Not an Issue |
This silly program compiles:
public class GenericArraysNowSupported {
public static void main (String[] args) {
Object[] foo = new <HowdyDoody>Object[123];
}
}
This should have been caught by the parser.
public class GenericArraysNowSupported {
public static void main (String[] args) {
Object[] foo = new <HowdyDoody>Object[123];
}
}
This should have been caught by the parser.
- backported by
-
JDK-2152445 Compiler confused about explicit type args and arrays
- Closed