[9] RFR: 8144593: Suppress not recognized property/feature warning messages from SAXParser
huizhe wang
huizhe.wang at oracle.com
Wed Feb 3 19:02:51 UTC 2016
Looks good Aleksej!
-Joe
On 2/3/2016 10:19 AM, Aleksej Efimov wrote:
> Hi,
> Please, help to review the fix for JDK-8144593 bug [1] in jaxp area:
> http://cr.openjdk.java.net/~aefimov/8144593/9/00/
> Problem:
> JDK produces warnings when non-default parser implementation is used
> and this parser doesn't support jaxp features/properties. The quantity
> of such messages can be enormous for long-running application that
> performs frequent xml transformation or validation operations.
> The proposed fix suppresses such messages and prints them only once
> per one JVM invocation for each unique pair of: parser class in use
> AND property name that is not supported by this parser.
>
> Testing results:
> JDK regression tests (with new regression tests for transformation and
> validation operations), JCK and JPRT shows no xml tests failures.
>
> Best Regards,
> Aleksej
>
> [1] https://bugs.openjdk.java.net/browse/JDK-8144593
More information about the core-libs-dev
mailing list