mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
Expect UnsupportedOperationException from Process.pid() in BuildManager
GitOrigin-RevId: b2ff701f5adb5cde8e48351e316304d815e60d0f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
dbf0475c1e
commit
bf0e07845a
@@ -1647,6 +1647,9 @@ public final class BuildManager implements Disposable {
|
||||
WinProcess winProcess = new WinProcess((int)processHandler.getProcess().pid());
|
||||
winProcess.setPriority(Priority.IDLE);
|
||||
}
|
||||
catch (UnsupportedOperationException ignored) {
|
||||
// Process.pid may throw this error. Just ignoring it.
|
||||
}
|
||||
catch (Throwable e) {
|
||||
LOG.error("Cannot set priority", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user