On Thu, 4 Aug 2022 15:55:38 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> Peter Levart has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Removed unused JLA, SharedSecrets, added @enablePreview test annotation > > test/jdk/jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java > line 40: > >> 38: * @compile --enable-preview -source ${jdk.version} >> TestTerminatingThreadLocal.java >> 39: * @run main/othervm --enable-preview >> -Djdk.virtualThreadScheduler.parallelism=1 >> -Djdk.virtualThreadScheduler.maxPoolSize=2 TestTerminatingThreadLocal >> 40: */ > > If you add `@enablePreview` then it will allow you to drop the `@compile` > line and drop `--enable-preview from the `@run` tag. > > You might want to add the bugId to the `@bug` list too. Done in next commit. ------------- PR: https://git.openjdk.org/jdk/pull/9743