Maurizio Cimadamore c5d6131368 6557182: Unchecked warning *and* inconvertible types
Redundant warnings are generated when casting from intersection types

Reviewed-by: jjg
2009-01-29 12:18:19 +00:00

5 lines
286 B
Plaintext

T6557182.java:35:56: compiler.err.prob.found.req: (- compiler.misc.inconvertible.types), T, java.lang.Comparable<java.lang.Integer>
T6557182.java:39:56: compiler.warn.prob.found.req: (- compiler.misc.unchecked.cast.to.type), T, java.lang.Comparable<java.lang.Integer>
1 error
1 warning