test/tools/javac/T6554097.out

Fri, 28 Jan 2011 12:01:07 +0000

author
mcimadamore
date
Fri, 28 Jan 2011 12:01:07 +0000
changeset 844
2088e674f0e0
parent 0
959103a6100f
permissions
-rw-r--r--

6910550: javac 1.5.0_17 fails with incorrect error message
Summary: multiple clashing members declared in same class should be added to the class' scope in order to avoid downstream spurious diagnostics
Reviewed-by: jjg

     1 T6554097.java:18:46: compiler.warn.missing.SVUID: compiler.misc.anonymous.class: T6554097$5
     2 T6554097.java:19:46: compiler.warn.missing.SVUID: compiler.misc.anonymous.class: T6554097$6
     3 T6554097.java:22:50: compiler.warn.missing.SVUID: compiler.misc.anonymous.class: T6554097$7
     4 T6554097.java:23:54: compiler.warn.missing.SVUID: compiler.misc.anonymous.class: T6554097$8
     5 - compiler.err.warnings.and.werror
     6 1 error
     7 4 warnings

mercurial