Details
-
Bug
-
Resolution: Fixed
-
P3
-
9
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8278633 | openjdk8u332 | Joe Wang | P3 | Resolved | Fixed | b01 |
JDK-8281137 | na | Joe Wang | P3 | Resolved | Duplicate |
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.
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.
Attachments
Issue Links
- backported by
-
JDK-8278633 Xerces Update: datatype XMLGregorianCalendarImpl and DurationImpl
- Resolved
-
JDK-8281137 Xerces Update: datatype XMLGregorianCalendarImpl and DurationImpl
- Resolved
- relates to
-
JDK-8238164 Update Xerces2 Java to version 2.12.0
- Resolved