JDK-8040019 : Xerces Update: XMLEntityManager.java
  • Type: Bug
  • Component: xml
  • Sub-Component: javax.xml.parsers
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2014-04-11
  • Updated: 2019-05-13
  • Resolved: 2019-05-13
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.
Other
tbdResolved
Related Reports
Duplicate :  
Description
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/XMLEntityManager.java?view=log

Revisions list:
    320289  - XERCESJ-815 (In JDK)
    327940  - XERCESJ-1107. Partially in JDK - will need to check all affected files. Affected files: DTDGrammar.java, CMAny.java, CMLeaf.java, CMStateSet.java, XSComplexTypeDecl.java, XSParticleDecl.java, XSCMLeaf.java, DurationImpl.java, AugmentationsImpl.java, QName.java.
    415425  - Addition of new Latin1Reader to the set of Readers. Affected files: Latin1Reader.java, XMLEntityManager.java
    423220  - Ignore this one. Uses PrivilegedAction to get "user.dir" property.
    425603  - Minor performance improvement
    438577  - Bug fix: When an error is detected in an internal entity the locator reports the current location in the closest external entity. This wasn't working for the document entity.
    443089  - Adding a small pool of byte buffers
    443115  - Reduce the overhead of creating a ScannedEntity by reusing byte buffers.
    443118  - Pass the byte buffer to ScannedEntity's constructor directly (additional fix 443115)
    446761  - ASF license
    449330  - javadoc
    450971  - Already done as part of 8035469.
    473379  - getFile() returns a concatenation of getPath() and getQuery()
    495747  - XERCESJ-1221. Affected files: XML11NSDocumentScannerImpl.java, XMLDTDScannerImpl.java, XMLDocumentFragmentScannerImpl.java, XMLDocumentScannerImpl.java, XMLNSDocumentScannerImpl.java
    572037  - Marking fields final
    572040  - Marking more fields final
    578659  - performance
    581487  - Encoding hadling refactoring + new UTF16Reader plugging.
    581643  - Buffer length check in UTF-16 reader
    704573  - minor performance regarding iteration over Map. Affected files: XML11DTDDVFactoryImpl.java, DocumentBuilderImpl.java, SAXParserImpl.java, HTMLSerializer.java, XMLSerializer.java
    724088  - Code restructure. Affected files: XIncludeTextReader.java
    791563  - Already done as part of 8035469.
    791567  - Minor change. Better exception cause initialization.
    822684  - Already done as part of 8035469.
    944964  - XERCESJ-1398 (Possible memory leak, with no test case - according to the apache conversation).
    1363647 - XERCESJ-1574
    1513559 - Affected files: XMLDTDScannerImpl.java

Exclude Revisions: 
    423220, 450971,  791563, 822684

Reason to exclude: 
    423220 - Uses PrivilegedAction to get "user.dir" property.
    450971, 791563, 822684 - was moved to JDK as part of JDK-8035469

Revisions already in JDK sources:
    Verified that revisions prior to and including 320289 are in JDK
    
Fixed bugs: 
    XERCESJ-1574 - Major. Problem with detected encoding for UTF-16 encoded as Unicode Little
    XERCESJ-1398 - Major. Slow growing memory leak from XMLEntityManager.RewindableInputStream
    XERCESJ-1221 - Minor. [XML 1.0] - E13 of third edition errata needs to be implemented.
    XERCESJ-1107 - Minor. [PATCH] Cleanup inefficient StringBuffer code
    XERCESJ-815  - No classification(Minor). RewindableInputStream.

Bug fixes already in JDK sources: 
           XERCESJ-815 No classification(Minor). RewindableInputStream.
Comments
XMLEntityManager is now up-to-date in JDK 13 as part of Xerces 2.12.0 update. Closing as duplicate of JDK-8222415
13-05-2019