hg: jdk/jdk13: 8226522: No compilation error reported when yield is used in incorrect context
jan.lahoda at oracle.com
jan.lahoda at oracle.com
Tue Jul 2 09:46:00 UTC 2019
Changeset: 4c0a7916d3cd
Author: jlahoda
Date: 2019-07-02 09:14 +0200
URL: http://hg.openjdk.java.net/jdk/jdk13/rev/4c0a7916d3cd
8226522: No compilation error reported when yield is used in incorrect context
Reviewed-by: mcimadamore
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! test/langtools/tools/javac/switchexpr/WarnWrongYieldTest.java
! test/langtools/tools/javac/switchexpr/WarnWrongYieldTest.out
! test/langtools/tools/javac/switchexpr/WrongYieldTest.java
! test/langtools/tools/javac/switchexpr/WrongYieldTest.out
More information about the jdk-all-changes
mailing list