Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8228854

Default ErrorListener reports warnings and errors to the console

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14
    • Component/s: xml

      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.

        Attachments

          Issue Links

            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: