JDK-8228854 : Default ErrorListener reports warnings and errors to the console
  • Type: Bug
  • Component: xml
  • Sub-Component: javax.xml.transform
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-07-31
  • Updated: 2019-09-26
  • Resolved: 2019-09-05
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
14 b14Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8229389 :  
Description
javax.xml.transform Interface ErrorListener 
The javadoc of the ErrorListener states that the default ErrorListener reports all warnings and errors to System.err. This is inappropriate since output to the console or server log (when it is so configured) could go unnoticed or unnecessarily clog the output channel. ErrorListener should not require implementations to do so.

As is recommended, applications that wish to handle the warnings and errors shall always register their own listeners.

Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/12885822f0c5 User: joehw Date: 2019-09-05 17:27:18 +0000
05-09-2019