Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8228854 Default ErrorListener reports warnings and errors to the console
  3. JDK-8229389

Release Note: Default ErrorListener No Longer Reports Warnings and Errors to the Console

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: xml

      Description

      Prior to this release, the `javax.xml.transform.ErrorListener` specification defined that the default `ErrorListener` implementation reported warnings and errors to `System.err`, and `System.out` in some cases.
      This requirement has been removed as of this release and the default `ErrorListener` now takes no action for warnings and recoverable errors; and in the case of a severe error, throws a `TransformerException`.

      It is recommended that applications always register their own `ErrorListener` to ensure proper handling of warnings and errors.

        Attachments

          Activity

            People

            • Assignee:
              joehw Joe Wang
              Reporter:
              joehw Joe Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: