RFR: JDK-8297215: Update libs tests to use @enablePreview [v3]
Alan Bateman
alanb at openjdk.org
Thu Dec 1 08:02:15 UTC 2022
On Thu, 1 Dec 2022 05:44:44 GMT, Joe Darcy <darcy at openjdk.org> wrote:
>> Similar to an update recently done for langtools tests, update the libraries regression tests to take advantage of the @enablePreview jtreg feature.
>
> 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:
>
> - Respond to review feedback.
> - Merge branch 'master' into JDK-8297215
> - Respond to review feedback.
> - JDK-8297215: Update libs tests to use @enablePreview
Latest update looks good, will make the test changes easy when features move from preview to permanent.
test/jdk/java/net/Socket/Timeouts.java line 30:
> 28: * @build jdk.test.lib.Utils
> 29: * @enablePreview
> 30: * @compile Timeouts.java
I assume the `@compile` can be dropped from this one, doesn't matter.
-------------
Marked as reviewed by alanb (Reviewer).
PR: https://git.openjdk.org/jdk/pull/11222
More information about the serviceability-dev
mailing list