javac crash for annotation on lambda formal parameter type

Werner Dietl wdietl at
Tue Dec 10 10:36:13 PST 2013

>From Vicente's description I took away that the problem is too
fundamental for me to work around in type-annotations.

Can we get the, admittedly ugly, hack I have in type-annotations into
tl? It at least prevents this particular crash.
I updated type-annotations/langtools to make diffing easier.

It is a pity that this means that the compiler is not generating correct
bytecode for type annotations within lambdas within field initializers.

cu, WMD.

On 13-12-10 01:23 PM, Alex Buckley wrote:
> On 12/8/2013 3:36 PM, Vicente-Arturo Romero-Zaldivar wrote:
>> I have created this bug entry to track this issue:
>> I think this should be deferred for now, but Alex if you think that this
>> should be fixed asap feel free to raise the priority to P2 and provide a
>> justification.
> Vicente, thanks for looking at the issue. I see that JDK-8029787 is now
> closed as a duplicate of JDK-8029721, which is itself a P2.
> Werner, FYI, we (Oracle) are now only working on P2s and P1s for JDK 8,
> and all P2s must be resolved by 12/13. After 12/13, it's P1s only;
> everything else gets deferred to an update release or JDK 9.
> Alex

More information about the type-annotations-dev mailing list