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

Clarify behavior of java.awt.HeadlessException constructed with no-args

XMLWordPrintable

    • b04

        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:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: