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

[Gtk] Remove "Failed in XOpenDisplay" warning message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 8u40
    • 8u11
    • javafx
    • None

      To reproduce, run any program on Linux with DISPLAY set to the empty string:

          DISPLAY="" java -jar Ensemble.jar

      Now that RT-37974 is implemented, an exception will be thrown in the case of no valid DISPLAY. Before that expected exception is thrown, the prism-es2 pipeline prints the following warning:

      "Failed in XOpenDisplay"

      This is especially noticeable when running the unit tests (gradle -PFULL_TEST=true test)

      We should not print a warning message to the console. The warning message should be removed or qualified with "prism.verbose".

            ckyang Chien Yang (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: