the type of x.getClass() is Class<? extends X>

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 5.0
    • Affects Version/s: 5.0
    • Component/s: tools
    • b26
    • generic
    • solaris_8

      For a variable

          X x;

      the type of

          x.getClass()

      is

          java.lang.Class<? extends X>

      but javac currently treats the type as simply raw Class.

            Assignee:
            Neal Gafter (Inactive)
            Reporter:
            Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: