On Fri, 27 Feb 2026 13:48:39 GMT, Markus Grönlund <[email protected]> wrote:

> Greetings,
> 
> ProcessTools.createLimitedTestJavaProcessBuilder() is used in a few JFR 
> tests. The limited version does not propagate the --enable-preview flag to 
> the process spawned.
> 
> For this to work correctly, for some tests, 
> ProcessTools.createTestJavaProcessBuilder(), must be used instead. 
> 
> Testing: jdk_valhalla, hotspot_valhalla, hotspot_valhalla_runtime, jdk_jfr
> 
> Thanks
> Markus

This pull request has now been integrated.

Changeset: fb166a6d
Author:    Markus Grönlund <[email protected]>
Committer: Paul Hübner <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/fb166a6d3051711e85c7bca943f07f14034a0617
Stats:     8 lines in 4 files changed: 0 ins; 0 del; 8 mod

8378840: [lworld] JFR: Update tests for --enable-preview flag

Reviewed-by: phubner

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

PR: https://git.openjdk.org/valhalla/pull/2181

Reply via email to