Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P5
-
Resolution: Fixed
-
Affects Version/s: 6
-
Component/s: specification
-
Labels:None
-
Subcomponent:
-
CPU:generic
-
OS:generic
-
Verification:Verified
Description
"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."
Attachments
Issue Links
- relates to
-
JDK-6486430 Compiler fails to reject access to static member in parameterized type
-
- Closed
-