Clarification for CantAnnotateStaticClass2 test
Eric McCorkle
eric.mccorkle at oracle.com
Thu May 8 23:06:53 UTC 2014
Hello,
In the test CantAnnotateStaticClass2, the following lines appear.
@TB Outer f1;
@TB Outer.Inner f1a;
@TB Outer.SInner f2a; // err
@TB Outer.IInner f3a; // err
In the second line, TB annotates a static class from which a member is
being selected, which should result in an error, but the test does not
expect an error message. Should there, in fact, be an error message?
Thanks,
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eric_mccorkle.vcf
Type: text/x-vcard
Size: 303 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20140508/00a677b9/eric_mccorkle.vcf>
More information about the compiler-dev
mailing list