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

Amend HeadlessException default message on Linux

XMLWordPrintable

    • b24
    • 19
    • linux

      JDK-8286447 modified the default message for java.awt.HeadlessException on Linux.

      Instead of a full stop, the message has a comma now with an additional line break.

      JDK 17:
      -----
      java.awt.HeadlessException:
      No X11 DISPLAY variable was set,
      but this program performed an operation which requires it.
      -----

      JDK 21:
      -----
      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,

      -----

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: