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

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 14
    • 14
    • xml

      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.

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

              Created:
              Updated:
              Resolved: