Missing "unchecked" diagnostic

XMLWordPrintable

    • generic
    • generic

      The following is required to result in an unchecked diagnostic, but javac produces none.

      interface I { }
      class A<T> {
        void f(I xx) {
           A<T> yy = (A<T>)xx;
        }
      }

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: