Open jukzi opened 1 month ago
This should be fixed by https://github.com/eclipse-platform/eclipse.platform/pull/1566.
But where do you get version 3 from? AFAICT it's not in the SDK TP yet.
I think it should not matter which API version is used. Only the qualified name
jakarta.annotation.PostConstruct
should matter
In general this is right, but I'm not sure that there are no corner cases where just comparing the FQN is not correct.
On the other hand I don't know if there's another good way to support version 2 and 3 of the jakarta.annotation
in the same application, so we maybe have no other choice.
i have a OOmphed workspace and ended with this v3:
There are two in the target platform via Maven locations:
So I do expect there to be two.
org.eclipse.ui.tests.api.workbenchpart.DependencyInjectionViewTest.testDependencyInjectionLifecycle()
fails locally. Enabling debug output inorg.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(AnnotationProxy, Object, Class<?>, PrimaryObjectSupplier, PrimaryObjectSupplier, List<Class<?>>)
reveals annotated withI think it should not matter which API version is used. Only the qualified name
jakarta.annotation.PostConstruct
should matter@HannesWell ?