JDK-8222415 : Xerces 2.12.0: Parsing Configuration
  • Type: Sub-task
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 11,13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-04-12
  • Updated: 2020-01-29
  • Resolved: 2019-04-16
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 11 JDK 13
11.0.5-oracleFixed 13 b17Fixed
Related Reports
Duplicate :  
Relates :  
Description
This sub task covers the changes to the parsing configuration area. Where the following bugs were fixed:

    XERCESJ-1574 - Major. Problem with detected encoding for UTF-16 encoded as Unicode Little
    XERCESJ-1398 - Major. Slow growing memory leak from XMLEntityManager.RewindableInputStream 

through the following revisions:

Revision 1363647 - Fixes XERCESJ-1574. 
Revision 944964 -  Fixes XERCESJ-1398

These changes had dependencies on previous revisions such as 581487 and 443089. However, the JDK has its own buffer allocation mechanism and a modified Entity class. The update therefore will go without the buffer pools and changes to the Entity class as in the Xerces code base.

Besides the above, in the last revision (1513559) there was an improvement in the way parameter entity expansions were counted. In the JDK, there was a comprehensive revamp on the design and implementation of various limitations as reflected in the Java Tutorial: Processing Limit (https://docs.oracle.com/javase/tutorial/jaxp/limits/index.html). As a result, the revision (1513559) is not needed in this upgrade.




Comments
Fix Request (jdk11u) Requesting a jdk11u backport approval of this enhancement for Oracle feature parity. The following changeset applies cleanly to jdk11u-dev and passes tier1 and jaxp_all tests: http://hg.openjdk.java.net/jdk/jdk/rev/02ef86858896
22-08-2019