Invalid discovery of Bundle.getBundleContext() method
-----------------------------------------------------
Key: PAXSB-44
URL: http://issues.ops4j.org/browse/PAXSB-44
Project: Pax Swissbox
Issue Type: Bug
Reporter: Thomas Diesler
Assignee: Alin Dreghiciu
BundleUtils uses
bundle.getClass().getDeclaredMethod( "getBundleContext" )
instead of
Bundle.class.getDeclaredMethod( "getBundleContext" )
As a result the discovery does not work for wrapper classes like this
final class BundleWrapper<T extends AbstractBundle<?>> extends
GenericBundleWrapper<T> {
BundleWrapper(T bundle) {
super(bundle);
}
@Override
protected T getWrappedBundle() {
return super.getWrappedBundle();
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general