From 2504e059fa8804c9b22622e867386f94bcb6f472 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Sat, 4 Nov 2023 17:07:41 +0100 Subject: [PATCH] Add deprecation notice for javax support by the E4 injector Part of https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/1056 --- .../porting/removals.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/porting/removals.html b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/porting/removals.html index 2b11b037974..613e409196d 100644 --- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/porting/removals.html +++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/porting/removals.html @@ -254,6 +254,24 @@

4. Remove IModelProviderEvent's fields TARGET_CHANG

Removed API in previous releases

+ + +

API removals after December 2025

+ +

1. Support for javax-annotation by the E4 Injector

+ +The support of the Eclipse E4 Platform Dependency Injector for annotations from the javax.inject and javax.annotation package is deprecated +and scheduled to be disabled by default after the December 2025 release. +The eventual removal of support for these javax annotations will happen at any time after the December 2025 release without any further prior notice, +whenever maintaining it is no longer feasible or hinders other development. +

+Processing of javax annotations can be explicitly disabled for an application by specifying the VM property -Declipse.e4.inject.javax.disabled=true +and explicitly enabled by specifying -Declipse.e4.inject.javax.disabled=false. +For further details or to provide feedback on this change, see eclipse.platform.releng.aggregator#1056. +

+For further information and possible long term compatibility strategies see +Eclipse 4.30 - New and Noteworthy: Support for Jakarta Annotations by Eclipse E4. +