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

Missing headful in java/awt/Graphics/GetGraphicsTest.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 21
    • client-libs

      STDOUT:
      STDERR:
      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)
          at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
          at java.base/java.lang.reflect.Method.invoke(Method.java:578)
          at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
          at java.base/java.lang.Thread.run(Thread.java:1592)

      JavaTest Message: Test threw exception: 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,

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: 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,

            jiefu Jie Fu
            jiefu Jie Fu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: