Clarification for CantAnnotateStaticClass2 test

Eric McCorkle eric.mccorkle at
Thu May 8 23:06:53 UTC 2014


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: eric_mccorkle.vcf
Type: text/x-vcard
Size: 303 bytes
Desc: not available
URL: <>

More information about the compiler-dev mailing list