hg: jdk/submit15: 8242214: NullPointerException in JDK 14 javac compiling a method reference

jan.lahoda at oracle.com jan.lahoda at oracle.com
Fri Jun 19 12:27:40 UTC 2020


Changeset: 7ea2b63984c0
Author:    jlahoda
Date:      2020-06-19 14:26 +0200
URL:       https://hg.openjdk.java.net/jdk/submit15/rev/7ea2b63984c0

8242214: NullPointerException in JDK 14 javac compiling a method reference
Summary: Ensuring a proper receiver is used to invoke protected method when method reference is unrolled into a lambda.
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! test/langtools/tools/javac/lambda/methodReference/ProtectedInaccessibleMethodRefTest2.java
! test/langtools/tools/javac/lambda/methodReference/pack/I.java



More information about the jdk-submit-changes mailing list