git: openjdk/jdk: master: 8335136: Underscore as parameter name in one-parameter functional types fails to compile

Jan Lahoda jlahoda at openjdk.org
Thu Jun 27 07:46:20 UTC 2024


Changeset: f3b69da5
Author:    Evemose <124714317+Evemose at users.noreply.github.com>
Committer: Jan Lahoda <jlahoda at openjdk.org>
Date:      2024-06-27 07:45:18 +0000
URL:       https://git.openjdk.org/jdk/commit/f3b69da55a1ec4857fff1537a80ab1fefee93dac

8335136: Underscore as parameter name in one-parameter functional types fails to compile

Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
+ test/langtools/tools/javac/switchexpr/ExpressionSwitchUnderscoreAfterYield.java



More information about the jdk-changes mailing list