8250625: Compiler implementation of Pattern Matching for instanceof (Final)

Reviewed-by: vromero
This commit is contained in:
Jan Lahoda 2020-11-05 08:01:33 +00:00
parent 60e4aca846
commit 18bc95ba51
86 changed files with 230 additions and 312 deletions

View file

@ -25,8 +25,8 @@
* @test
* @bug 8231827
* @summary All example code from "Pattern Matching for Java" document, released April 2017, adjusted to current state (no switches, etc)
* @compile --enable-preview -source ${jdk.version} ExamplesFromProposal.java
* @run main/othervm --enable-preview ExamplesFromProposal
* @compile ExamplesFromProposal.java
* @run main ExamplesFromProposal
*/
interface Node {