jdk-24/langtools/test/tools/javac/cast/7005095/T7005095neg.out
Maurizio Cimadamore e8d1ae243d 7005095: Cast: compile reject sensible cast from final class to interface
A previous fix to cast conversion has made the compiler too strict w.r.t. final cast

Reviewed-by: jjg
2010-12-09 15:50:10 +00:00

3 lines
138 B
Plaintext

T7005095neg.java:13:25: compiler.err.prob.found.req: (compiler.misc.inconvertible.types), T7005095pos.FooImpl, T7005095pos.Foo<T>
1 error