view test/tools/javac/generics/6476118/T6476118c.out @ 834:1d625fbe6c22

6476118: compiler bug causes runtime ClassCastException for generics overloading Summary: compiler allows bridge methods to override unrelated method Reviewed-by: jjg
author mcimadamore
date Thu, 09 Dec 2010 15:50:34 +0000
parents
children 96d4226bdd60
line wrap: on
line source
T6476118c.java:18:21: compiler.err.name.clash.same.erasure.no.override: foo(java.lang.Object), T6476118b.C, foo(T), T6476118b.A
T6476118c.java:19:21: compiler.err.name.clash.same.erasure.no.override: foo(java.lang.Number), T6476118b.C, foo(T), T6476118b.B
2 errors