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).

I don't see any such failure of this test.
It passes for me if I run it using jtreg from a headful environment (without 
the fix of course).

What are you doing to trigger it ?

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

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

Reply via email to