Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cross-project-issues-dev] Warning for javax.inject users

Hey everyone,
If you make use of javax.inject in your plugin and relied on org.eclipse.core.runtime reexporting it now you'll have to add import package for it explicitly. [1]

Bundle javax.inject was always optional import in org.eclipse.core.runtime thus it was never really promised to be there for clients. Combined with the fact that API can change underneath us [2] it made no sense to continue relying on this uncertain and even questionable structure "reexport optional dependency".

All clients affected from this have to explicitly Import-Package: javax.inject and thus ensure that it's properly resolved fot them.

[1] https://www.eclipse.org/eclipse/news/4.13/platform_isv.php#javax-injext
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=547877

--
Alexander Kurtakov
Red Hat Eclipse Team

Back to the top