-
CSR
-
Resolution: Approved
-
P4
-
None
-
behavioral
-
low
-
-
Java API
-
SE
Summary
Remove the requirement for the default implementation of javax.xml.transform.ErrorListener to report all warnings and errors to System.err.
Problem
The specification of javax.xml.transform.ErrorListener requires that the default implementation 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.
Solution
Remove the requirement.
Specification
The class-level description of the interface is re-written. The only material change is removing requirement to report all warnings and errors to System.err.
The package summary is updated to reflect the change. The statement regarding the default ErrorListener implementation is removed in favor of the @implNote in the ErrorListener.
Specdiff attached.
The specdiff can also be viewed here: http://cr.openjdk.java.net/~joehw/jdk14/8228854/specdiff_05/javax/xml/transform/package-summary.html
- csr of
-
JDK-8228854 Default ErrorListener reports warnings and errors to the console
-
- Resolved
-
- relates to
-
JDK-8000621 serializer.setEncoding emits warning message for unrecognized encoding, falls back to UTF-8
-
- Closed
-