[jdk11u-dev] RFR: 8272581: sun/security/pkcs11/Provider/MultipleLogins.sh fails after JDK-8266182

Jonathan Dowland jdowland at openjdk.java.net
Thu Sep 23 09:06:32 UTC 2021


Please consider this backport for jdk11u. It depends upon JDK-8266182 (https://github.com/openjdk/jdk11u-dev/pull/376) which in turn depends on JDK-8180571 (https://github.com/openjdk/jdk11u-dev/pull/396).

MultipleLogins.sh compiles all files under lib/jdk/test/lib/artifacts, Since JDK-8266182 added a new file OpensslArtifactFetcher.java which requires libraries outside of MultipleLogin.sh's classpath, it fails to build it.
The patch move and renames OpensslArtifactFetcher to resolve this.

The patch applies cleanly and MultipleLogins.sh passes after applying. Note that in my testing, in 11u, the test does not fail prior to applying: although it's clear from the output that it failed to build OpensslArtifactFetcher.

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

Commit messages:
 - Backport a199ebc0175f9882f051551cff9ce08016f204a4
 - Backport ed57cf1cf3f2d107e085ecdae38a63e66ab2fa30
 - Backport ccfcd926674ee0bd88f34b16b489abe008169b11

Changes: https://git.openjdk.java.net/jdk11u-dev/pull/400/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=400&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8272581
  Stats: 2327 lines in 21 files changed: 916 ins; 1346 del; 65 mod
  Patch: https://git.openjdk.java.net/jdk11u-dev/pull/400.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/400/head:pull/400

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


More information about the jdk-updates-dev mailing list