[jdk11u-dev] Integrated: 8278186: org.jcp.xml.dsig.internal.dom.Utils.parseIdFromSameDocumentURI throws StringIndexOutOfBoundsException when calling substring method

Goetz Lindenmaier goetz at openjdk.java.net
Fri Mar 18 12:39:36 UTC 2022


On Thu, 17 Mar 2022 13:56:31 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 63db1bf6
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.java.net/jdk11u-dev/commit/63db1bf6ee7a7bab61ea879a55862821add7c79f
Stats:     646 lines in 4 files changed: 642 ins; 0 del; 4 mod

8278186: org.jcp.xml.dsig.internal.dom.Utils.parseIdFromSameDocumentURI throws StringIndexOutOfBoundsException when calling substring method

Reviewed-by: mdoerr
Backport-of: 1f1db838ab7d427170d59a8b55fdb45c4d80c359

-------------

PR: https://git.openjdk.java.net/jdk11u-dev/pull/909


More information about the jdk-updates-dev mailing list