-
Bug
-
Resolution: Fixed
-
P5
-
6
-
None
-
generic
-
generic
-
Verified
"If a type name is of the form Q.Id, then Q must be either a type name
or a package name. If Id names exactly one type that is a member of the
type or package denoted by Q, then the qualified type name denotes that
type.
If Id does not name a member type within Q (8.5,9.5), or the member type
named Id within Q is not accessible (6.6), or Id names more than one
member type within Q, ***or Id names a static member type (8.5.2) within
Q and Q is parameterized***, then a compile-time error occurs."
or a package name. If Id names exactly one type that is a member of the
type or package denoted by Q, then the qualified type name denotes that
type.
If Id does not name a member type within Q (8.5,9.5), or the member type
named Id within Q is not accessible (6.6), or Id names more than one
member type within Q, ***or Id names a static member type (8.5.2) within
Q and Q is parameterized***, then a compile-time error occurs."
- relates to
-
JDK-6486430 Compiler fails to reject access to static member in parameterized type
-
- Closed
-