hg: jdk7/tl/langtools: 6917130: should test that annotations that have been optimized away are not emitted to classfile

Neal Gafter neal at gafter.com
Tue Jan 26 12:29:40 PST 2010


On Tue, Jan 26, 2010 at 12:24 PM, Joseph D. Darcy <Joe.Darcy at sun.com> wrote:
> Neal Gafter wrote:
>> Note that this is testing for "optional" behavior, which is a
>> quality-of-implementation issue and not a correctness issue.
>
> ...which is perfectly appropriate for JDK-specific regression tests :-)

Agreed.  However, it would be a good idea to put a note in the test,
just in case someone ends up confused over why some other compiler
doesn't pass it.



More information about the compiler-dev mailing list