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

[Gtk] Remove "Failed in XOpenDisplay" warning message

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 8u11
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:
      None

      Description

      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".

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: