JDK-8308788 : [8u] Remove duplicate HaricaCA.java test
  • Type: Bug
  • Component: security-libs
  • Affected Version: openjdk8u292
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2023-05-24
  • Updated: 2024-07-30
  • Resolved: 2023-08-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjdk8u392 b02Fixed
Related Reports
Relates :  
Description
Backport of JDK-8256421 added test to wrong location, namely:

jdk/test/jdk/security/infra/java/security/cert/CertPathValidator/certification/HaricaCA.java

while it should be

jdk/test/security/infra/java/security/cert/CertPathValidator/certification/HaricaCA.java

That's where other CA tests live in 8u.
Comments
Changeset: 86ea3f25 Author: Severin Gehwolf <sgehwolf@openjdk.org> Date: 2023-08-11 08:50:49 +0000 URL: https://git.openjdk.org/jdk8u/commit/86ea3f25b6b288919788d4ec99ff4cc0bab81413
23-08-2023

Changeset: 86ea3f25 Author: Severin Gehwolf <sgehwolf@openjdk.org> Date: 2023-08-11 08:50:49 +0000 URL: https://git.openjdk.org/jdk8u-dev/commit/86ea3f25b6b288919788d4ec99ff4cc0bab81413
11-08-2023

Fix Request (OpenJDK 8u): Please approve this test-only deletion for OpenJDK 8u. Apparently this must have been some hg->git conversion thing or a merge issue. The duplicate file isn't present in the original HG commit: https://hg.openjdk.org/jdk8u/jdk8u/jdk/rev/8c34226ce118 but seems to be in the jdk8u merge: https://hg.openjdk.org/jdk8u/jdk8u/jdk/rev/d55e3a03248a I don't know. Either way, duplicate file. Very little risk. Reviewed by Paul Hohensee.
30-05-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk8u-dev/pull/322 Date: 2023-05-26 09:35:16 +0000
26-05-2023

This commit introduced the change in the wrong location: https://github.com/openjdk/jdk8u/commit/c98be69f8ac This commit points to the same bug, but has a different commit id and uses the correct location: https://github.com/openjdk/jdk8u/commit/e190c22e19d It looks like jdk/test/jdk/security/infra/java/security/cert/CertPathValidator/certification/HaricaCA.java can simply be removed: $ diff -u jdk/test/security/infra/java/security/cert/CertPathValidator/certification/HaricaCA.java jdk/test/jdk/security/infra/java/security/cert/CertPathValidator/certification/HaricaCA.java $
24-05-2023