JDK-8249832 : java/util/zip/DataDescriptorSignatureMissing.java uses @ignore w/o bug-id
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 11,15,16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-07-22
  • Updated: 2024-04-23
  • Resolved: 2023-10-17
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.
JDK 22
22 b20Fixed
Related Reports
Relates :  
Relates :  
Description
java/util/zip/DataDescriptorSignatureMissing.java has '@ignore This test has brittle dependencies on an external working python.'; canonically, @ignore should be followed by the id of the bug which describes the problem and will be used to eventually fix it. 

the more appropriate solutions for a situation when tests have special requirements: 
 - use `@requires` to check that the necessary conditions are met. in this case, this might including the creation of new at-requires property (in /test/lib/jtreg-ext/requires/VMProps.java or better a separate EnvProps class) which check that python is available;
 - using custom check login in tests and throwing jtreg.SkippedException; 
 - using '/manual' jtreg option, which will exclude tests from automated runs, yet will still be possible for "manual" execution by direct jtreg invocation
Comments
Changeset: 34653c1e Author: Agnibho Hom Chowdhury <agnibho.hom.chowdhury@oracle.com> Committer: Mahendra Chhipa <mchhipa@openjdk.org> Date: 2023-10-17 11:58:17 +0000 URL: https://git.openjdk.org/jdk/commit/34653c1e73452c0e07beb1f5e2eb8029fdb3befc
17-10-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/16073 Date: 2023-10-06 12:43:02 +0000
12-10-2023