Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon" since Intellij 2024.1 #53

Open
tomsquest opened this issue Apr 26, 2024 · 1 comment

Comments

@tomsquest
Copy link

Using latest Intellij (2024.1)

IntelliJ IDEA 2024.1 (Ultimate Edition)
Build #IU-241.14494.240, built on March 28, 2024
Non-Bundled Plugins:
  Shifter (1.9.6)

An notification error popups:

com.intellij.diagnostic.PluginException: `ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon. 'com.kstenschke.shifter.actions.ShiftUpMoreAction' must override `getActionUpdateThread` and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: Shifter]
	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:199)
@Noorts
Copy link

Noorts commented Jun 8, 2024

FYI: For anybody looking to pick this up, overriding the method to resolve the deprecation is pretty straightforward.

A hindrance could potentially be upgrading plugin dependencies that are being used (although this plugin uses a different dependency than mine; see plugin.xml).

For an example PR see: Noorts/Toggler#66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants