Community
Participate
Working Groups
When retrieving the bundle or bundle context, OSGiBundle should make it clear that it will use the class from the object instance. class A { @Inject @OSGiBundle BundleContext context; } Class B { ... whatever... } ContextInjectionFactory.make(B.class) will inject the BundleContext for the bundle that contains B, not A PW
IMO comment #1 is exactly what should go into the javadoc. Paul, do you want me to create a gerrit change or do you add this right away?
If comment #1 is what we want, I'll just add it tomorrow. Thanks Markus, PW
Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=c1cd356b6a072e10770c8062579b7c3a068b183b PW
(In reply to Paul Webster from comment #3) > Released as > http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/ > ?id=c1cd356b6a072e10770c8062579b7c3a068b183b That's not it at all :-) http://git.eclipse.org/c/platform/eclipse.platform.runtime.git/commit/?id=192e8adce3ef9230fb8072ec67aa41e2a9c23012 PW
In 4.4.0.I20140303-2000 PW