mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 20:14:43 +02:00
8250625: Compiler implementation of Pattern Matching for instanceof (Final)
Reviewed-by: vromero
This commit is contained in:
parent
60e4aca846
commit
18bc95ba51
86 changed files with 230 additions and 312 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue