JDK-8366128 : jdk/jdk/nio/zipfs/TestPosix.java::testJarFile uses wrong file
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 14,26
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-08-26
  • Updated: 2025-08-28
  • Resolved: 2025-08-26
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 26
26 b13Fixed
Related Reports
Causes :  
Description
The testJarFile test in the jdk/jdk/nio/zipfs/TestPosix.java test creates `JAR_FILE`, but then tries to extract `ZIP_FILE`.

Since the test always(?) passes, it seems likely that an earlier test (in TestPosix) created `ZIP_FILE` and left it behind.
Comments
Changeset: 22d3a6dd Branch: master Author: Jaikiran Pai <jpai@openjdk.org> Date: 2025-08-26 11:55:01 +0000 URL: https://git.openjdk.org/jdk/commit/22d3a6dd34a14994c7210365a5b982c9e65f5892
26-08-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/26936 Date: 2025-08-26 05:25:10 +0000
26-08-2025