Skip to content

Commit 197adc2

Browse files
committed
8342633: javax/management/security/HashedPasswordFileTest.java creates tmp file in src dir
Backport-of: de441c2b6891ad475f516d14b793efbe65f1477c
1 parent 7723330 commit 197adc2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/jdk/javax/management/security/HashedPasswordFileTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@ private String[] getHash(String algorithm, String password) {
110110
}
111111

112112
private String getPasswordFilePath() {
113-
String testDir = System.getProperty("test.src");
114-
String testFileName = "jmxremote.password";
115-
return testDir + File.separator + testFileName;
113+
return "jmxremote.password";
116114
}
117115

118116
private File createNewPasswordFile() throws IOException {

0 commit comments

Comments
 (0)