Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6493167

Illegal access to static member in parameterized type

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 7, 8
    • 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."

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abuckley Alex Buckley
              Reporter:
              ahe Peter Ahe
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: