RFR: 8356053: Test java/awt/Toolkit/Headless/HeadlessToolkit.java fails by timeout

Phil Race prr at openjdk.org
Wed May 7 19:10:53 UTC 2025


On Mon, 5 May 2025 17:44:25 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> The `java/awt/Toolkit/Headless/HeadlessToolkit.java` test covers some functionality of various methods in the `HeadlessToolkit` class, specifically whether these methods throw a `HeadlessException` or not. The image-related methods do not require access to a remote server via a URL; they can be tested using a URL pointing to a local file. This ensures that the test does not depend on `openjdk.org`.

Marked as reviewed by prr (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/25045#pullrequestreview-2822920567


More information about the client-libs-dev mailing list