Clarification for CantAnnotateStaticClass2 test
eric.mccorkle at oracle.com
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...
Size: 303 bytes
Desc: not available
More information about the compiler-dev