-
Bug
-
Resolution: Fixed
-
P4
-
6
-
b03
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2152447 | OpenJDK6 | Jonathan Gibbons | P3 | Closed | Not an Issue |
The compiler fails to reject this program:
public class Test<T extends Number> {
Test<?>.Inner.InnerMost x = null;
Test<Inner.InnerMost>.Inner.InnerMost y = null;
private static class Inner<S> {
private static class InnerMost {
}
}
}
public class Test<T extends Number> {
Test<?>.Inner.InnerMost x = null;
Test<Inner.InnerMost>.Inner.InnerMost y = null;
private static class Inner<S> {
private static class InnerMost {
}
}
}
- backported by
-
JDK-2152447 Compiler fails to reject access to static member in parameterized type
- Closed
- relates to
-
JDK-6318240 Creation of array of inner class of an enclosing wildcard type doesn't work
- Closed
-
JDK-6493167 Illegal access to static member in parameterized type
- Closed
-
JDK-6558462 Nested classes and reified types
- Closed