mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 12:04:39 +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,7 @@
|
|||
* @test
|
||||
* @bug 8231827
|
||||
* @summary Testing pattern matching against the null constant
|
||||
* @compile --enable-preview -source ${jdk.version} NullsInPatterns.java
|
||||
* @run main/othervm --enable-preview NullsInPatterns
|
||||
* @compile/fail/ref=NullsInPatterns.out -XDrawDiagnostics NullsInPatterns.java
|
||||
*/
|
||||
import java.util.List;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue