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

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;
        }
      }

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: