On Tue, 25 Apr 2023 12:43:42 GMT, Prasanta Sadhukhan <[email protected]> 
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)

This pull request has now been integrated.

Changeset: 07ea445b
Author:    Prasanta Sadhukhan <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/07ea445b43e0df682f305c8709495094e807b1f8
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8306838: GetGraphicsTest needs to be headful

Reviewed-by: jiefu, dcubed

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

PR: https://git.openjdk.org/jdk/pull/13639

Reply via email to