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

Jonathan Gibbons Jonathan.Gibbons at Sun.COM
Tue Jan 26 12:36:06 PST 2010

Neal Gafter wrote:
> 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.

Well, there is no precedent for making any such notes in the many other 
tests for
javac-specific tests. Look at all the tests that directly use internal 
javac API.

-- Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20100126/462cabbb/attachment.html 

More information about the compiler-dev mailing list