RFR: 8011795: DOM Serializer prints stack traces to System.err

Aleksej Efimov aleksej.efimov at oracle.com
Tue May 13 08:11:05 UTC 2014


Hi,

Can I have a review for the simple fix [1] in DOMSerializerImpl.java: If 
there is an exception 'e' during DOM serialization then stack trace is 
printed to System.err and after that the LSException is re-thrown with 
'e' as cause. The System.err output is not needed here and can be removed.
This issue was resolved in JDK9 as part of Xerces Update project [2].

Thank you,
Aleksej

[1] Webrev: http://cr.openjdk.java.net/~aefimov/8011795/8/webrev.00/
[2] https://bugs.openjdk.java.net/browse/JDK-8035437
[3] JBS bug: https://bugs.openjdk.java.net/browse/JDK-8011795


More information about the jdk8u-dev mailing list