[jdk11u-dev] RFR: 8319124: Update XML Security for Java to 3.0.3

Goetz Lindenmaier goetz at openjdk.org
Fri Jan 19 17:39:48 UTC 2024


I backport this for parity with 11.0.23-oracle.

Large parts applied clean, see first commit.

I had to do the following mostly trivial resolves:

src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/Init.java
  A larger chunk did not apply, I could not see why so far.

src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureBaseRSA.java
patching file src/java.xml.crypto/share/classes/org/jcp/xml/dsig/internal/dom/DOMRSAPSSSignatureMethod.java
patching file src/java.xml.crypto/share/classes/org/jcp/xml/dsig/internal/dom/DOMSignedInfo.java
  Trivial resolve of imports.
  To make it compile I had to remove RSAPSSParameterSpec from the imports in two places.

patching file test/jdk/javax/xml/crypto/dsig/GenerationTests.java
All failed to apply automatically because RSAPSS coding is missing in the context.
Also, the new tests don't work as "JDK-8172680: Support SHA-3 based Hmac algorithms" is not in 11.

I kept the test coding to simplify future backports.

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

Commit messages:
 - Fix whitespace
 - Resolves, disable new tests
 - Backport 8319124 - clean parts

Changes: https://git.openjdk.org/jdk11u-dev/pull/2465/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2465&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8319124
  Stats: 1523 lines in 130 files changed: 1114 ins; 226 del; 183 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2465.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2465/head:pull/2465

PR: https://git.openjdk.org/jdk11u-dev/pull/2465


More information about the jdk-updates-dev mailing list