git: openjdk/jdk: 8318160: javac does not reject private method reference with type-variable receiver

Vicente Romero vromero at openjdk.org
Tue Oct 24 14:46:21 UTC 2023


Changeset: e2720987
Author:    Vicente Romero <vromero at openjdk.org>
Date:      2023-10-24 14:45:10 +0000
URL:       https://git.openjdk.org/jdk/commit/e2720987b921b95fd8010cea60d2d6e436e5ebaa

8318160: javac does not reject private method reference with type-variable receiver

Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/langtools/tools/javac/lambda/methodReference/PrivateMethodReferenceWithTypeVarTest.java
+ test/langtools/tools/javac/lambda/methodReference/PrivateMethodReferenceWithTypeVarTest.out



More information about the jdk-changes mailing list