Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8306838

GetGraphicsTest needs to be headful

XMLWordPrintable

        Newly added GetGraphicsTest should be headful as it uses a Frame:

        java/awt/Graphics/GetGraphicsTest.java

        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)

              psadhukhan Prasanta Sadhukhan
              psadhukhan Prasanta Sadhukhan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: