view test/tools/javac/cast/6557182/T6557182.out @ 210:4542977c959e

6557182: Unchecked warning *and* inconvertible types Summary: Redundant warnings are generated when casting from intersection types Reviewed-by: jjg
author mcimadamore
date Thu, 29 Jan 2009 12:18:19 +0000
parents
children 6ada6122dd4f
line wrap: on
line source
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