Skip to content

Commit

Permalink
8342633: javax/management/security/HashedPasswordFileTest.java create…
Browse files Browse the repository at this point in the history
…s tmp file in src dir
  • Loading branch information
kevinjwalls committed Oct 21, 2024
1 parent aa060f2 commit 0043e75
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@ private String[] getHash(String algorithm, String password) {
}

private String getPasswordFilePath() {
String testDir = System.getProperty("test.src");
String testFileName = "jmxremote.password";
return testDir + File.separator + testFileName;
return "jmxremote.password";
}

private File createNewPasswordFile() throws IOException {
Expand Down

0 comments on commit 0043e75

Please sign in to comment.