Fri, 28 Jan 2011 12:01:07 +0000
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 SuppressDeprecation.java:130:17: compiler.warn.has.been.deprecated: X, compiler.misc.unnamed.package
2 SuppressDeprecation.java:82:10: compiler.warn.has.been.deprecated: g(), T
3 SuppressDeprecation.java:83:14: compiler.warn.has.been.deprecated: g(), T
4 SuppressDeprecation.java:84:9: compiler.warn.has.been.deprecated: var, T
5 SuppressDeprecation.java:87:9: compiler.warn.has.been.deprecated: T(), T
6 SuppressDeprecation.java:90:9: compiler.warn.has.been.deprecated: T(int), T
7 SuppressDeprecation.java:98:1: compiler.warn.has.been.deprecated: T(), T
8 7 warnings