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

The OpenJDK implementation of no-args java.awt.HeadlessException class constructor doesn't follow the specification

XMLWordPrintable

      The specification for https://download.java.net/java/early_access/jdk25/docs/api/java.desktop/java/awt/HeadlessException.html#%3Cinit%3E() updated with JDK-8016313 is not followed by the OpenJDK implementation.

      ===
      Constructor Details
          HeadlessException
          public HeadlessException()
          Constructs new HeadlessException with empty message.
      ===

      In fact at least in headful environment the message is `null`, not empty.

            prr Philip Race
            dbessono Dmitry Bessonov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: