RFR: 8321582: yield <primitive-type>.class not parsed correctly.
Vicente Romero
vromero at openjdk.org
Fri Dec 8 17:31:14 UTC 2023
On Fri, 8 Dec 2023 16:30:21 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
> Fixing the parser to accept primitive type after yield.
>
> I didn't want to update the parts of the patch that remain, to not obstruct history, but I used the multi-label case for the new labels.
looks sensible
do we need a CSR for this one?
test/langtools/tools/javac/switchexpr/ExpressionSwitch.java line 153:
> 151: }
> 152:
> 153: private Class<?> yieldPrimiteDotClass(String s) {
typo: Primite -> Primitive
-------------
Marked as reviewed by vromero (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/17035#pullrequestreview-1772858259
PR Comment: https://git.openjdk.org/jdk/pull/17035#issuecomment-1847564565
PR Review Comment: https://git.openjdk.org/jdk/pull/17035#discussion_r1420815801
More information about the compiler-dev
mailing list