RFR: 8306838: GetGraphicsTest needs to be headful
Daniel D. Daugherty
dcubed at openjdk.org
Tue Apr 25 14:20:11 UTC 2023
On Tue, 25 Apr 2023 12:43:42 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> Newly added GetGraphicsTest should be headful as it uses a Frame
>
>
> java.awt.HeadlessException:
> No X11 DISPLAY variable was set,
> or no headful library support was found,
> but this program performed an operation which requires it,
>
> at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:166)
> at java.desktop/java.awt.Window.<init>(Window.java:553)
> at java.desktop/java.awt.Frame.<init>(Frame.java:428)
> at java.desktop/java.awt.Frame.<init>(Frame.java:393)
> at GetGraphicsTest.<init>(GetGraphicsTest.java:35)
> at GetGraphicsTest.main(GetGraphicsTest.java:47)
Thumbs up. This is a trivial fix.
-------------
Marked as reviewed by dcubed (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/13639#pullrequestreview-1400031340
More information about the client-libs-dev
mailing list