pnoltes commented on PR #441:
URL: https://github.com/apache/celix/pull/441#issuecomment-1238252227
> Supporting multiple-version of the same bundle is essential for this
usage, since APPs have very different release schedules and thus are likely to
depend on different versions of the same bundle.
Yes and if I am correct, OSGi supports the same bundle, but different
version in the same OSGi framework.
For Celix this is currently not supported.
The challenge I see here is the same as with importing/exporting libraries
from bundles: If there are libraries which are different, but have the same
SONAME header, a call to dlopen will reuse a (transitive) library with the same
SONAME instead of loading a new lib. This is even true if DL_LOCAL is used.
In practice this means that every bundle activator library (and ideally
every private bundle library) should have a unique SONAME and although in
theory this is doable ("just configure the SONAME"), I think that in many cases
this adds too much complexity.
I also did some experiment with dlmopen, but because this start with a
completely clean symbol space (so no symbols from the executable) IMO this is
also not a real solution.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]