jdk-24/langtools/test/tools/javac/cast/6467183/T6467183a.out
Maurizio Cimadamore e202a05c38 6714835: Safe cast is rejected (with warning) by javac
Rules for unchecked cast conversion do not take into account type-containment

Reviewed-by: jjg
2010-11-04 12:58:29 +00:00

5 lines
179 B
Plaintext

T6467183a.java:16:26: compiler.warn.prob.found.req: (compiler.misc.unchecked.cast.to.type), T6467183a<T>.B, T6467183a<T>.A<T>
- compiler.err.warnings.and.werror
1 error
1 warning