mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24: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
|
@ -2,9 +2,8 @@
|
|||
* @test /nodynamiccopyright/
|
||||
* @bug 8231827
|
||||
* @summary Verify behavior w.r.t. non-reifiable types in instanceof
|
||||
* @compile/fail/ref=ReifiableOld-old.out -source 13 -Xlint:-options -XDrawDiagnostics ReifiableOld.java
|
||||
* @compile/fail/ref=ReifiableOld-old.out -source ${jdk.version} -XDrawDiagnostics ReifiableOld.java
|
||||
* @compile/fail/ref=ReifiableOld.out --enable-preview -source ${jdk.version} -XDrawDiagnostics ReifiableOld.java
|
||||
* @compile/fail/ref=ReifiableOld-old.out -source 15 -Xlint:-options -XDrawDiagnostics ReifiableOld.java
|
||||
* @compile/fail/ref=ReifiableOld.out -XDrawDiagnostics ReifiableOld.java
|
||||
*/
|
||||
|
||||
public class ReifiableOld implements ReifiableOldI {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue