mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
unify spaces handling in path for different java agents (IDEA-CR-30322) (follow-up: remove condition for win)
This commit is contained in:
@@ -243,7 +243,7 @@ public class JavaExecutionUtil {
|
||||
} else {
|
||||
agentContainingDir = new File(agentPath).getParent();
|
||||
}
|
||||
if (!SystemInfo.isWindows && agentContainingDir.contains(" ")) {
|
||||
if (agentContainingDir.contains(" ")) {
|
||||
File dir = new File(PathManager.getSystemPath(), copyDirName);
|
||||
if (dir.getAbsolutePath().contains(" ")) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user