RFR: JDK-8296968: Update langtools tests to use @enablePreview [v2]

Jan Lahoda jlahoda at openjdk.org
Tue Nov 15 20:57:54 UTC 2022


On Tue, 15 Nov 2022 20:14:41 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> Update langtools tests to use JTreg's @enablePreview tag, where appropriate.
>
> Joe Darcy has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
> 
>  - Update copyrights.
>  - Remove unnecessary run tags.
>  - Merge branch 'master' into JDK-8296968
>  - JDK-8296968: Update langtools tests to use @enablePreview

test/langtools/tools/javac/patterns/NestedPrimitiveDeconstructionPattern.java line 1:

> 1: 

Nit - maybe add the empty line behind or before the `@test` comment, just to be sure header checkers are not confused?

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

PR: https://git.openjdk.org/jdk/pull/11149


More information about the compiler-dev mailing list