mjedynak / pit-idea-plugin

IntelliJ Idea plugin for PIT mutation testing
MIT License
52 stars 15 forks source link

PluginException: `ActionUpdateThread.OLD_EDT` is deprecated #63

Open thesn10 opened 1 month ago

thesn10 commented 1 month ago
com.intellij.diagnostic.PluginException: `ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon. 'pl.mjedynak.idea.plugins.pit.actions.RunSomeTestsPitAction' must override `getActionUpdateThread()` and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: PIT mutation testing Idea plugin]
    at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23)
    at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:90)
    at com.intellij.diagnostic.PluginException.reportDeprecatedUsage(PluginException.java:125)
    at com.intellij.openapi.actionSystem.ActionUpdateThreadAware.getActionUpdateThread(ActionUpdateThreadAware.java:21)
    at com.intellij.openapi.actionSystem.AnAction.getActionUpdateThread(AnAction.java:201)
roefer commented 2 weeks ago

Sorry, I don't have a pull request, but this patch fixes the issue. It basically just does, what this post suggests.

pit-idea-plugin-15-33-47.patch