On Wed, 11 Mar 2026 20:39:55 GMT, Chen Liang <[email protected]> wrote:
> The `JavaTask` used by SourceLauncher by default passes jtreg-added flags to > the java launcher. This is fine for the most part except when the source > launcher specifies `--source` which conflicts with `--enable-preview`. We can > use `includeStandardOptions(false)` to prevent such passing. > > The other uses of `vmOpions` are all true vm options and thus can inherit > options. > > The same failure happens on mainline. We might port this to mainline later. lgtm ------------- Marked as reviewed by vromero (Committer). PR Review: https://git.openjdk.org/valhalla/pull/2216#pullrequestreview-3932941391
