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

Missing "unchecked" diagnostic

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: