Skip to content

Commit 1569925

Browse files
author
Alexander Matveev
committed
8356819: [macos] MacSign should use "openssl" and "faketime" from Homebrew by default
Reviewed-by: asemenyuk
1 parent d154342 commit 1569925

File tree

1 file changed

+2
-2
lines changed
  • test/jdk/tools/jpackage/helpers/jdk/jpackage/test

1 file changed

+2
-2
lines changed

test/jdk/tools/jpackage/helpers/jdk/jpackage/test/MacSign.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,9 +1280,9 @@ static Executor security(String... args) {
12801280
// However, jtreg will alter the value of the PATH env variable and
12811281
// /usr/bin/openssl will preempt /usr/local/bin/openssl.
12821282
// To workaround this jtreg behavior support specifying path to openssl command.
1283-
private static final Path OPENSSL = Path.of(Optional.ofNullable(TKit.getConfigProperty("openssl")).orElse("openssl"));
1283+
private static final Path OPENSSL = Path.of(Optional.ofNullable(TKit.getConfigProperty("openssl")).orElse("/usr/local/bin/openssl"));
12841284

12851285
// faketime is not a standard macOS command.
12861286
// One way to get it is with Homebrew.
1287-
private static final Path FAKETIME = Path.of(Optional.ofNullable(TKit.getConfigProperty("faketime")).orElse("faketime"));
1287+
private static final Path FAKETIME = Path.of(Optional.ofNullable(TKit.getConfigProperty("faketime")).orElse("/usr/local/bin/faketime"));
12881288
}

0 commit comments

Comments
 (0)