RFR: 8342633: javax/management/security/HashedPasswordFileTest.java creates tmp file in src dir

Kevin Walls kevinw at openjdk.org
Mon Oct 21 09:28:44 UTC 2024


Test update: HashedPasswordFileTest.java was using System.getProperty("test.src") as a place to _create_ a file.

jtreg gives us the current working directory for the test invocation as a scratch directory.  Create files there, without reading any property to find another location.

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

Commit messages:
 - 8342633: javax/management/security/HashedPasswordFileTest.java creates tmp file in src dir

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

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


More information about the serviceability-dev mailing list