-
Notifications
You must be signed in to change notification settings - Fork 91
Migrate javax.inject and javax.annotations to Jakarta #1056
Description
This is an umbrella issue to coordinate and collect the migration steps of the javax.inject and java.annotations bundles to Jakarta.
-
Migrate to the javax.inject|annotations bundles provided by Jakarta but with unchanged package names
-
Only use Import-Package with a closed version range to reference
javax.inject|annotationsin Plugin Manifests.- Simplifies the exchange of the providing bundle
- Additionally prevents possible split-package problems with the
javax.annotationpackage provided by thecom.google.code.findbugs/jsr305artifact. It is not used within the Eclipse platform but it guards down-stream consumers that could have it in their TP. E.g. Guava has a transitive dependency on it, so there is some chance it ends up in a TP if one is not careful. - PRs
- Improve OSGi metadata about dependency to javax.inject/annotations eclipse-pde/eclipse.pde#591
- Improve OSGi metadata about dependency to javax.inject/annotations eclipse-jdt/eclipse.jdt.core#1019
- Improve OSGi metadata about dependency to javax.inject/annotations eclipse.platform#431
- Improve OSGi metadata about dependency to javax.inject/annotations eclipse.platform.debug#133
- Improve OSGi metadata about dependency to javax.inject/annotations eclipse.platform.ua#121
- Improve OSGi metadata about dependency to javax.inject/annotations eclipse.platform.ui#738
-
Refactor code to not relay on the bundle-symbolicName of the javax-annotations provider bundle so that it can be easaly exchanged
-
Replace javax-artifacts in the TP with the ones provided by Jakarta
-
-
Support Annotations from
jakarta.inject|annotationsin all processors in the Eclipse platform- Add new jakarta.inject|annotations bundles to TP which version?
- jakarta.inject:jakarta.inject-api:2.0.1
- jakarta.annotation:jakarta.annotation-api:2.1.1
- Support Jakarta Annotations in the E4 Injector (will create a dedicated issue):
- Are there more processors in the Eclipse-Platform?
Looks like there are not more.
- Add new jakarta.inject|annotations bundles to TP which version?
-
Migrate all uses of the
javax.inject|annotationspackages tojakarta.inject|annotations- Support jakarta.inject / jakarta.annotation in E4 as an alternative eclipse.platform#696
- Migrate from javax.inject/annotation to jakarta.inject/annotation eclipse.platform#789
- Add o.e.e4.core.javax.tests as javax-using copy of o.e.e4.core.tests eclipse.platform#791
- Migrate from javax.inject/annotation to jakarta.inject/annotation eclipse.platform.ui#1255
- Migrate from javax.annotation to jakarta.annotation eclipse.platform.swt#852
- Migrate Tests from javax.inject to jakarta.inject annotations eclipse-jdt/eclipse.jdt.core#1527
- Migrate PDE from javax.inject/annotation to jakarta.inject/annotation eclipse-pde/eclipse.pde#833
I'll start to work on the steps and update this initial comment with the created PRs.