[jdk11u-dev] RFR: 8278186: org.jcp.xml.dsig.internal.dom.Utils.parseIdFromSameDocumentURI throws StringIndexOutOfBoundsException when calling substring method
Goetz Lindenmaier
goetz at openjdk.java.net
Thu Mar 17 15:35:14 UTC 2022
I backport this for parity with 11.0.16-oracle.
The change applies clean, but the new test requires XMLUtils.java.
I include XMLUtils.java, which was introduced by
"8241306: Add SignatureMethodParameterSpec subclass for RSASSA-PSS params"".
I had to adapt a row on non Java 11 constructs.
Also, I commented references to RSAPSSParameterSpec and
and SignatureMethod.RSA_PSS which only come with 8241306.
The code is not used by this test. I added an exception
to make sure the code is not executed.
-------------
Commit messages:
- Backport 1f1db838ab7d427170d59a8b55fdb45c4d80c359
Changes: https://git.openjdk.java.net/jdk11u-dev/pull/909/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=909&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8278186
Stats: 646 lines in 4 files changed: 642 ins; 0 del; 4 mod
Patch: https://git.openjdk.java.net/jdk11u-dev/pull/909.diff
Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/909/head:pull/909
PR: https://git.openjdk.java.net/jdk11u-dev/pull/909
More information about the jdk-updates-dev
mailing list