JDK-8033980 : Xerces Update: datatype XMLGregorianCalendarImpl and DurationImpl
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-02-07
  • Updated: 2022-09-01
  • Resolved: 2014-02-18
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 9 Other Other
9 b04Fixed naResolved na,openjdk8u332Resolved
Related Reports
Relates :  
Description
Bring patches from Xerces to the JDK:
XMLGregorianCalendarImpl: 20 revisions, 2 of them had bug ids (XERCESJ-1243 and XERCESJ-1097)
DurationImpl:  10 revisions, 4 of them with bug ids (XERCESJ-1416, XERCESJ-1343, XERCESJ-1107 and XERCESJ-1097)

Complete the above would:
1. bring the two classes up to date
2. bring in the following fixes:
    XERCESJ-1243 Major  XMLGregorianCalendarImpl converts offset in minutes incorrectly in getTimeZone
    XERCESJ-1097 Major XMLGregorianCalendarImpl format method generates improperly formatted date string
    XERCESJ-1416 Minor NPE creating (invalid) duration
    XERCESJ-1343 Minor [patch] remove some unused cruft in DurationImpl

3. not complete the following:
    XERCESJ-1107 Minor [PATCH] Cleanup inefficient StringBuffer code

    11 classes were modified in this patch. Only that for DurationImpl would be applied.


Note:
       The JDK classes contain major patches, involving a large amount of changes, one patch for example contained 749 insertions(+), 751 deletions(-). The code therefore is significantly different from the Xerces. Therefore, only relevant changes shall be brought over. When in conflict, keep those in the JDK classes to maintain compatibility.


Comments
Changeset: d692ebc9 Author: Joe Wang <joehw@openjdk.org> Date: 2014-02-18 10:51:16 +0000 URL: https://git.openjdk.org/shenandoah-jdk8u/commit/d692ebc90537689332a7a7500920b258f1abde90
01-09-2022

Approved. Please push to: http://hg.openjdk.java.net/jdk8u/monojdk8u-dev/
13-12-2021

Fix Request [8u] Requesting a backport to 8u as part of JDK-8238164, for Oracle parity. The JDK 9 fixes apply cleanly to 8u except for one change already fixed by JDK-8028363. 8u webrev: https://cr.openjdk.java.net/~ebaron/jdk8u/JDK-8033980/webrev.01/ Approved by phh: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2021-November/014442.html
29-11-2021

8u RFR: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2021-November/014428.html
19-11-2021

URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/7f6eee4202fb User: lana Date: 2014-03-01 00:14:01 +0000
01-03-2014

URL: http://hg.openjdk.java.net/jdk9/jdk9/jaxp/rev/5c5bcc7bb15b User: lana Date: 2014-02-28 23:53:12 +0000
28-02-2014

URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/7f6eee4202fb User: joehw Date: 2014-02-18 18:54:10 +0000
18-02-2014

URL: http://hg.openjdk.java.net/jdk9/dev/jaxp/rev/5c5bcc7bb15b User: joehw Date: 2014-02-18 18:51:49 +0000
18-02-2014