Details
-
Bug
-
Resolution: Fixed
-
P5
-
None
-
b24
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8290470 | 17.0.5 | Joe Wang | P5 | Resolved | Fixed | b01 |
JDK-8290979 | 11.0.17 | Christoph Langer | P5 | Resolved | Fixed | b01 |
Description
Created on behalf of Shruthi
src/java.xml/share/classes/com/sun/org/apache/xpath/internal/XPATHErrorResources.java file has duplicate keys.
(1) Same key and different value.
{ ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
"rtf() not supported by XRTreeFragSelectWrapper"},
{ ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
"asNodeIterator() not supported by XRTreeFragSelectWrapper"},
(2) Same key and value.
{ ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL,
"Source and/or Return Type can not be null"},
{ ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL,
"Source and/or Return Type can not be null"},
src/java.xml/share/classes/com/sun/org/apache/xalan/internal/res/XSLTErrorResources.java file has duplicate keys.
(3) the same key and different value.
{ "xslProc_option", "Xalan-J command line Process class options:"},
{ "xslProc_option", "Xalan-J command line Process class options\u003a"},
[Poster's Note: 0x3a is the same as ':' in ascii/utf-8 so this is actually the same key and value.]
src/java.xml/share/classes/com/sun/org/apache/xpath/internal/XPATHErrorResources.java file has duplicate keys.
(1) Same key and different value.
{ ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
"rtf() not supported by XRTreeFragSelectWrapper"},
{ ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
"asNodeIterator() not supported by XRTreeFragSelectWrapper"},
(2) Same key and value.
{ ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL,
"Source and/or Return Type can not be null"},
{ ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL,
"Source and/or Return Type can not be null"},
src/java.xml/share/classes/com/sun/org/apache/xalan/internal/res/XSLTErrorResources.java file has duplicate keys.
(3) the same key and different value.
{ "xslProc_option", "Xalan-J command line Process class options:"},
{ "xslProc_option", "Xalan-J command line Process class options\u003a"},
[Poster's Note: 0x3a is the same as ':' in ascii/utf-8 so this is actually the same key and value.]
Attachments
Issue Links
- backported by
-
JDK-8290470 Duplicate XML keys in XPATHErrorResources.java and XSLTErrorResources.java
- Resolved
-
JDK-8290979 Duplicate XML keys in XPATHErrorResources.java and XSLTErrorResources.java
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/37ca256b
-
Commit openjdk/jdk17u-dev/4f79e185
-
Commit openjdk/jdk/b5a3d284
-
Review openjdk/jdk11u-dev/1121
-
Review openjdk/jdk17u-dev/427
-
Review openjdk/jdk/8318
(3 links to)