< prev index next >
test/langtools/tools/javac/switchexpr/BlockExpression.java
Print this page
rev 51258 : imported patch switch
rev 51259 : imported patch switch.01
*** 19,31 ****
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! /**
* @test
* @bug 8206986
* @compile --enable-preview -source 12 BlockExpression.java
* @run main/othervm --enable-preview BlockExpression
*/
public class BlockExpression {
--- 19,32 ----
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! /*
* @test
* @bug 8206986
+ * @summary Verify rule cases with expression statements and throw statements work.
* @compile --enable-preview -source 12 BlockExpression.java
* @run main/othervm --enable-preview BlockExpression
*/
public class BlockExpression {
< prev index next >