bug in attribution of annotations in anonymous classes

Werner Dietl wdietl at gmail.com
Sat Feb 9 18:48:08 PST 2013

Hi Steve,

>>> First, that test case I attached looks a little suspicious.  It may not
>>> be
>>> expected the correct counts.
>>> However, I do still see extra annotations on anonymous classes.
>>> I'll have to give that test a better look.
>> Sorry, I haven't gotten to look at anonymous classes yet.
> Good. Gives me more time to fix that test.

I just looked at this issue and can (no longer?) reproduce it.
Please push your test case for this and let me know whether it works
as expected or not.

>>> Second, should type-annotations in lambda expressions be working?
>>> I do not see any written to the classfile.
>> I don't expect anything related to type annotations and lambda to
>> currently work. I've added very basic support, but the EG is still
>> discussing the final storage format.
> Yep.  Currently, I can put them there, and it all compiles, but they are
> otherwise ignored.

Type annotations for method and constructor references and their type
arguments are implemented. It would be great if you could expand on
the tests in


Type annotations in lambda expressions are still to be implemented -
see the discussion in an earlier mail today.

cu, WMD.


More information about the type-annotations-dev mailing list