javac crash for annotation on lambda formal parameter type

Vicente-Arturo Romero-Zaldivar vicente.romero at oracle.com
Tue Dec 10 11:55:21 PST 2013


On 10/12/13 18:36, Werner Dietl wrote:
> >From Vicente's description I took away that the problem is too
> fundamental for me to work around in type-annotations.

Hi Werner,

I will submit a public webrev shortly.

>
> 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.

I should push the patch by the end of this week so the crash should be 
fixed.

Thanks,
Vicente

>
> 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:
>>> https://bugs.openjdk.java.net/browse/JDK-8029787
>>>
>>> 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