hg: jdk/jdk14: 2 new changesets

jan.lahoda at oracle.com jan.lahoda at oracle.com
Mon Jan 13 11:11:22 UTC 2020


Changeset: 1539b1e71dfa
Author:    jlahoda
Date:      2020-01-13 10:49 +0100
URL:       https://hg.openjdk.java.net/jdk/jdk14/rev/1539b1e71dfa

8236715: JShell: Records with errors are not properly corraled
Summary: Correctly corralling record classes, and providing correct messages to the user.
Reviewed-by: rfield, vromero

! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/Feedback.java
! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java
! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/resources/l10n.properties
! src/jdk.jshell/share/classes/jdk/jshell/Corraller.java
! test/langtools/jdk/jshell/RecordsTest.java
! test/langtools/jdk/jshell/ToolLocalSimpleTest.java
! test/langtools/jdk/jshell/ToolSimpleTest.java

Changeset: 231089800e42
Author:    jlahoda
Date:      2020-01-13 10:50 +0100
URL:       https://hg.openjdk.java.net/jdk/jdk14/rev/231089800e42

8236546: Yield with boolean expression and Object target type crashes javac.
Summary: The whenTrue and whenFalse sets need to be merged for non-boolean expressions.
Reviewed-by: mcimadamore

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



More information about the jdk-all-changes mailing list