runtime-chooser: XTEST-635 IDEA-264770 do not use ConditionalModal that leads to blocking

GitOrigin-RevId: dd2542db18ff23e21374de4d2c5850e216b92726
This commit is contained in:
Eugene Petrenko
2021-03-22 13:54:49 +00:00
committed by intellij-monorepo-bot
parent 472f77a943
commit 30072cdfdc
@@ -65,7 +65,7 @@ class RuntimeChooserPaths {
private fun runWithProgress(action: (indicator: ProgressIndicator, jdkFile: Path) -> /*runtime name*/ @NlsSafe String?) {
val title = LangBundle.message("progress.title.choose.ide.runtime.set.jdk")
object : Task.ConditionalModal(null, title, true, DEAF) {
object : Task.Backgroundable(null, title, true, DEAF) {
override fun run(indicator: ProgressIndicator) {
var jdkFileShadow: Path? = null
try {