[CHERRY PICKED FROM IJ] [kotlin] replace parent.resolve with resolveSibling
IJ-CR-8752 GitOrigin-RevId: 8348dd8bdd644a0b985c2c9915bf3140701ac5ff Original commit: https://github.com/JetBrains/intellij-community/commit/3035c229615621b8a9c4e96b32cca53373c98b2a
This commit is contained in:
committed by
Nikita Bobko
parent
0839b6a62b
commit
54bb3ef3fe
@@ -46,7 +46,7 @@ object CompilerRunnerUtil {
|
||||
|
||||
// We might be inside jre.
|
||||
if (javaHome.name == "jre") {
|
||||
toolsJar = javaHome.parent.resolve("lib/tools.jar")
|
||||
toolsJar = javaHome.resolveSibling("lib/tools.jar")
|
||||
if (toolsJar.exists()) {
|
||||
return toolsJar.toFile()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user