RFR: 8308093: Disable language preview features use in JDK

Chen Liang liach at openjdk.org
Mon May 22 11:52:50 UTC 2023


On Mon, 22 May 2023 10:01:55 GMT, Adam Sotona <asotona at openjdk.org> wrote:

> This patch disables temporary use of language preview features in JDK.
> Temporary enabled language preview features (to allow Pattern Matching for switch use in the Classfile API library) are no more necessary.
> All redundant use of --enable-preview in the Classfile API tests are also removed.
> 
> Please review.
> 
> Thanks,
> Adam

The enable-preview for jmh benchmark compilation exists before Classfile API integration, so this should be it.

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

Marked as reviewed by liach (Author).

PR Review: https://git.openjdk.org/jdk/pull/14076#pullrequestreview-1436460682



More information about the build-dev mailing list