RFR: 8365700: jar --validate without any --file option leaves around a temporary file /tmp/tmpJar<number>.jar

Matthias Baesken mbaesken at openjdk.org
Tue Aug 19 07:59:16 UTC 2025


The jtreg test tools/jar/JarNoFileArgOperations.java seems to create files like /tmp/tmpJar12065714313154611400.jar in the file system and keeps them there after the test finishes (also in case of SUCCESS) .
This has been observed at least on Linux and AIX .

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

Commit messages:
 - JDK-8365700

Changes: https://git.openjdk.org/jdk/pull/26837/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26837&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8365700
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/26837.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26837/head:pull/26837

PR: https://git.openjdk.org/jdk/pull/26837


More information about the core-libs-dev mailing list