Integrated: 8286475: Drop --enable-preview from instanceof pattern matching related tests

Aleksey Shipilev shade at openjdk.java.net
Tue May 17 08:52:56 UTC 2022


On Tue, 10 May 2022 12:11:44 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> There are plenty of tests failing on many architectures due to `--enable-preview` VM code introduced by Loom. This improvement eliminates some of the redundant `--enable-preview` clauses from the instanceof pattern matching tests, since instanceof pattern matching have been graduated from preview in JDK 16. 
> 
> Additional testing:
>  - [x] Linux x86_64 fastdebug, affected tests still pass
>  - [x] Linux x86_32 fastdebug, affected tests start to pass

This pull request has now been integrated.

Changeset: 8c977050
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/8c977050aa20a7e9a6d0d83d18dce25defcc7a46
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8286475: Drop --enable-preview from instanceof pattern matching related tests

Reviewed-by: darcy

-------------

PR: https://git.openjdk.java.net/jdk/pull/8628


More information about the compiler-dev mailing list