JDK-8229389 : Release Note: Default ErrorListener No Longer Reports Warnings and Errors to the Console
  • Type: Sub-task
  • Component: xml
  • Sub-Component: javax.xml.transform
  • Affected Version: 14
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2019-08-09
  • Updated: 2020-04-27
  • Resolved: 2019-09-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 14
14Resolved
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.