On Thu, 11 Nov 2021 15:58:50 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:
>> Hello, in our central tests it was indeed a fastdbg OpenJDK. On my local >> Windows 10 machine I could not reproduce it. >> Our central tests run with -Djava.awt.headless=true , but I think the >> Win2019 server machine itself is not headless . > > I could add a J2dTraceLn(J2D_TRACE_ERROR, . . . ) in case an exception > occurs. The J2dTraceLn is already used at some other places in > DWMIsCompositionEnabled so it might fit better than just ignoring the > exception. Before ignoring an exception it is better to check why the warning was raised, if that warning is correct then we should try to propogate/report exception to the app, if it is not possible then we should use trace macro. ------------- PR: https://git.openjdk.java.net/jdk/pull/6306