JDK-6558558 : Missing "unchecked" diagnostic
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 5.0
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2007-05-17
  • Updated: 2010-04-02
  • Resolved: 2009-03-13
Related Reports
Duplicate :  
Relates :  
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;
  }
}