On Fri, 20 Nov 2026 22:54:59 GMT, jyma22 <[email protected]> wrote:

> On macOS the subprocess spawned by this test initializes AppKit while running 
> the `ColorConvertOp`, and macOS then writes an `ApplePersistenceIgnoreState` 
> state-restoration line to stderr. Because the test asserts 
> `stderrShouldBeEmpty()`, it fails on headful macOS hosts (consistently on 
> macos-x64 and macos-aarch64).
> 
> The subprocess only performs a color-space conversion and needs no display, 
> so it is run headless (`-Djava.awt.headless=true`). AppKit is then never 
> initialized and stderr stays empty.
> 
> Testing: the test passes on macOS x64 and aarch64 with the change, and a full 
> test tier shows no regression on either architecture.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Does the fixed test pass on the other OSes?

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

PR Comment: https://git.openjdk.org/jdk/pull/34007#issuecomment-7057912978

Reply via email to