On Sat, 6 Sep 2025 20:44:55 GMT, Saint Wesonga <[email protected]> wrote:

> This test fails with errors like 
> >'=C:=,=ExitValue=3,PROCESSOR_ARCHITECTURE=ARM64,SystemRoot=C:\Windows,'< not 
> equal to '=C:=,=ExitValue=3,SystemRoot=C:\Windows,'
> 
> The test does not expect the PROCESSOR_ARCHITECTURE variable to be returned 
> from the ProcessBuilder (called at 
> https://github.com/openjdk/jdk/blob/431f46724658b703e995e518cb7a2149c50d6a9d/test/jdk/java/lang/ProcessBuilder/Basic.java#L127
>  for example). The fix is to treat it as an expected variable and strip it 
> out from the results, similar to how macOS and AIX strip out their expected 
> variables.
> 
> The winEnvFilter method needs to be updated because some checks like 
> https://github.com/openjdk/jdk/blob/431f46724658b703e995e518cb7a2149c50d6a9d/test/jdk/java/lang/ProcessBuilder/Basic.java#L1694
>  have the output on separate lines as opposed to the inline comma-separated 
> format where removeWindowsAArch64ExpectedVars is used.

@swesonga 
Your change (at version 7295f7eb94f5293d8f91b65cfc1f4217c4023a1b) is now ready 
to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/27131#issuecomment-3268045944

Reply via email to