RFR: 8238735 NPE compiling lambda expression within conditional expression

Adam Sotona adam.sotona at oracle.com
Wed May 20 08:19:00 UTC 2020

I would like to add results from Corpus compilation regression testing: the patch caused no regression in compilation of all Corpus sources :)

Thanks for review,

> On 18 May 2020, at 17:47, Adam Sotona <adam.sotona at oracle.com> wrote:
> Hi,
> I would like to ask for review of the patch fixing NPE while compiling lambda expression within conditional expression.
> The fix removes obsolete recovery cycle in com.sun.tools.javac.comp.Attr.visitLambda method when Types.FunctionDescriptorLookupError happens and it adds new test.
> JBS:  https://bugs.openjdk.java.net/browse/JDK-8238735 
> webrev: http://cr.openjdk.java.net/~asotona/8238735/webrev.00/
> Mach 5 build with the patch passes all Tier1, Tier2 and Tier3 tests.
> Thank you,
> Adam

More information about the compiler-dev mailing list