RFR: 8210495: compiler crashes because of illegal signature in otherwise legal code
Vicente Romero
vicente.romero at oracle.com
Fri Sep 7 13:27:35 UTC 2018
looks good,
Vicente
On 09/07/2018 08:49 AM, Maurizio Cimadamore wrote:
> Hi,
> this is a fix for the issue described in a recent compiler-dev thread
> [1]; the fix does two things:
>
> 1) adds proper catch of illegal signature exceptions in LambdaToMethod
> 2) Add ability to avoid exception throwing when generating signature
> for those clients that can live with loose semantics
>
> Crucially (2) allows to retain compatibility with previously
> serialized names. If e.g. we required all types to be erased prior to
> deserialized lambda name generation, we would obtain a different hash.
>
> Webrev:
>
> http://cr.openjdk.java.net/~mcimadamore/8210495/
>
> JBS:
>
> https://bugs.openjdk.java.net/browse/JDK-8210495
>
> Maurizio
>
More information about the compiler-dev
mailing list