[jdk21u-dev] RFR: 8365893: test/jdk/java/lang/Thread/virtual/JfrEvents.java failing intermittently [v5]

SendaoYan syan at openjdk.org
Wed Jan 14 02:07:49 UTC 2026


On Tue, 16 Dec 2025 12:41:24 GMT, SendaoYan <syan at openjdk.org> wrote:

>> Hi all,
>> 
>> This pull request contains a backport of commit [58e75815](https://github.com/openjdk/jdk/commit/58e7581527208dfd6dd694793e4790dcad8fc3ef) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.
>> 
>> The commit being backported was authored by Alan Bateman on 24 Aug 2025 and was reviewed by Jaikiran Pai.
>> 
>> Thanks!
>
> SendaoYan 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 five additional commits since the last revision:
> 
>  - Merge branch 'openjdk:master' into backport-sendaoYan-58e75815-master
>  - Merge branch 'openjdk:master' into backport-sendaoYan-58e75815-master
>  - Merge branch 'openjdk:master' into backport-sendaoYan-58e75815-master
>  - Merge branch 'openjdk:master' into backport-sendaoYan-58e75815-master
>  - Backport 58e7581527208dfd6dd694793e4790dcad8fc3ef

Can not backport to jdk21u-dev directly.


/home/runner/work/jdk21u-dev/jdk21u-dev/test/jdk/java/lang/Thread/virtual/JfrEvents.java:78: error: unnamed variables are a preview feature and are disabled by default.
                        .mapToObj(_ -> Thread.startVirtualThread(() -> { }))
                                  ^
  (use --enable-preview to enable unnamed variables)

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/2122#issuecomment-3747350791


More information about the jdk-updates-dev mailing list