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

Unwarranted unchecked warning for inner class of "wildcard" type

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b67
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      This program should compile without a warning:

      public class X<T> {
          private X<?>.Inner inner;
          public X() {
      this.inner = new X().new Inner();
          }
          private class Inner {}
      }

        Attachments

          Activity

            People

            Assignee:
            ahe Peter Ahe
            Reporter:
            ahe Peter Ahe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: