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

Illegal access to static member in parameterized type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 7, 8
    • 6
    • specification
    • 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."

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: