hg: jdk/sandbox: 8222169: java.lang.AssertionError switch expression in ternary operator - ?

chris.hegarty at oracle.com chris.hegarty at oracle.com
Thu May 16 09:00:36 UTC 2019


Changeset: 382101e97784
Author:    jlahoda
Date:      2019-05-16 10:52 +0200
URL:       http://hg.openjdk.java.net/jdk/sandbox/rev/382101e97784

8222169: java.lang.AssertionError switch expression in ternary operator - ?
Summary: Ensure the stack size recoded at the begining of the let expression is the correct one.
Reviewed-by: vromero
Contributed-by: vicente.romero at oracle.com, jan.lahoda at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
+ test/langtools/tools/javac/T8222795/ConditionalAndPostfixOperator.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitch-old.out
! test/langtools/tools/javac/switchexpr/ExpressionSwitch.java



More information about the jdk-sandbox-changes mailing list