[maven] fix jdk test

GitOrigin-RevId: a6e6ec241f80935e6db3c3d402bedad8e9eaf5eb
This commit is contained in:
Alexander Bubenchikov
2022-04-28 09:27:49 +00:00
committed by intellij-monorepo-bot
parent 155b567674
commit cf2739c5c2
@@ -131,7 +131,9 @@ public class MavenIdeaPluginConfigurer extends MavenModuleConfigurer {
}
if (ApplicationManager.getApplication().isDispatchThread()) {
WriteAction.run(() ->
model.commit()
);
}
else {
ApplicationManager.getApplication().invokeAndWait(() -> {