Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yschimke committed Jan 4, 2025
1 parent 192e93b commit b4115b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions okhttp/src/jvmTest/kotlin/okhttp3/CacheLockTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ class CacheLockTest {
lockFile.toFile().createNewFile()

val javaExe =
if (PlatformVersion.majorVersion >= 9) {
@Suppress("Since15")
ProcessHandle.current().info().command().get().toPath()
} else {
// if (PlatformVersion.majorVersion >= 9) {
// @Suppress("Since15")
// ProcessHandle.current().info().command().get().toPath()
// } else {
System.getenv("JAVA_HOME").toPath() / "bin/java"
}
// }

val process =
ProcessBuilder().command(
Expand Down

0 comments on commit b4115b2

Please sign in to comment.