intellij-openshift-connector icon indicating copy to clipboard operation
intellij-openshift-connector copied to clipboard

Fix usage of deprecated APIs

Open mohitsuman opened this issue 1 year ago • 5 comments

[kind/Enhancement]

OpenShift Toolkit by Red Hat 1.8.0 uses deprecated API, which may be removed in future releases leading to binary and source code incompatibilities

Screenshot 2024-03-04 at 6 36 54 PM

mohitsuman avatar Mar 04 '24 13:03 mohitsuman

  • ModuleListener.moduleAdded(Project, Module): replaced by ModuleListener.modulesAdded(Project, List<? extends Module>) but not available before IC-2023.1
  • IconManager.getIcon(String, Class): replaced by IconManager.getIcon(String, ClassLoader but not available before IC-2023.2 -> wont correct before we use 2023.2 as minimum version.
  • ProjectTopics.MODULES: replaced by ModuleListener.TOPIC but not available before IC-2023.3 -> wont correct before we use 2023.3 as minimum version

adietish avatar Mar 12 '24 14:03 adietish

#740 only fixes 1 of the 3 issues but requires IC-2023.1.

adietish avatar Mar 12 '24 15:03 adietish

We're now down at two, one that will be fixed with #740 when bumping to newer version, and last is about fabric8 client lib that might be resolved when also bumping to newer release of it.

sbouchet avatar Jul 19 '24 08:07 sbouchet

@sbouchet any update on this issue ?

mohitsuman avatar Sep 16 '24 15:09 mohitsuman

@mohitsuman : current situation for minimal version support is below, and can't be fixed without bumping both openshift client and minimal IDEA version. image

sbouchet avatar Oct 01 '24 12:10 sbouchet