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

@mgronlun 
Your change (at version 97be0295eab1d00f50c56cfc05ab716543729771) is now ready 
to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/valhalla/pull/2181#issuecomment-3990058804

Reply via email to