RFR: 8286473: Drop --enable-preview from Record related tests

Alan Bateman alanb at openjdk.java.net
Tue May 10 14:46:50 UTC 2022


On Tue, 10 May 2022 12:03:09 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 improvements eliminates some of the redundant `--enable-preview` clauses from the Record tests, since Records 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

test/jdk/java/nio/Buffer/BulkPutBuffer.java line 57:

> 55:  * @run testng/othervm BulkPutBuffer
> 56:  */
> 57: public class BulkPutBuffer {

You can drop the -source option from these tests too.

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

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


More information about the core-libs-dev mailing list