Thu, 04 Nov 2010 12:58:29 +0000
6714835: Safe cast is rejected (with warning) by javac
Summary: Rules for unchecked cast conversion do not take into account type-containment
Reviewed-by: jjg
jjg@384 | 1 | T6467183a.java:16:26: compiler.warn.prob.found.req: (compiler.misc.unchecked.cast.to.type), T6467183a<T>.B, T6467183a<T>.A<T> |
mcimadamore@235 | 2 | - compiler.err.warnings.and.werror |
mcimadamore@235 | 3 | 1 error |
mcimadamore@736 | 4 | 1 warning |