test/tools/javac/OverridePosition.out

Wed, 23 Apr 2008 17:10:03 +0100

author
mcimadamore
date
Wed, 23 Apr 2008 17:10:03 +0100
changeset 33
ec29a1a284ca
parent 1
9a66ca7c79fa
child 288
d402db1005ad
permissions
-rw-r--r--

6682380: Foreach loop with generics inside finally block crashes javac with -target 1.5
Summary: A missing type-erasure in Lower.java causes the compiler to crash since JDK6
Reviewed-by: jjg

duke@1 1 OverridePosition.java:17: method() in T4524388.Testa cannot implement method() in T4524388.Interface; attempting to assign weaker access privileges; was public
duke@1 2 void method() {}
duke@1 3 ^
duke@1 4 OverridePosition.java:24: method() in T4524388.A cannot implement method() in T4524388.Interface; attempting to assign weaker access privileges; was public
duke@1 5 class B extends A implements Interface {
duke@1 6 ^
duke@1 7 2 errors

mercurial