hg: jdk/sandbox: 8214529: Exception while using Anonymous class in switch expression

chris.hegarty at oracle.com chris.hegarty at oracle.com
Mon Dec 3 13:30:25 UTC 2018


Changeset: 2c8e6decb1c3
Author:    jlahoda
Date:      2018-12-03 14:25 +0100
URL:       http://hg.openjdk.java.net/jdk/sandbox/rev/2c8e6decb1c3

8214529: Exception while using Anonymous class in switch expression
Summary: Clearing breakResult when creating methodEnv.
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchBugs.java



More information about the jdk-sandbox-changes mailing list