Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[leshan-dev] [Bug 483250] leshan-core doesn't export all required packages (osgi related)

https://bugs.eclipse.org/bugs/show_bug.cgi?id=483250
Product/Component: Leshan / General

Kai Hudalla <kai.hudalla@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kai.hudalla@xxxxxxxxxxxx

--- Comment #1 from Kai Hudalla <kai.hudalla@xxxxxxxxxxxx> ---
(In reply to Valentin Valchev from comment #0)
Thanks for raising the issue, Valentin :-)
I have to admit that OSGi support in leshan is not as well maintained currently
as it should be-. That said, would you be willing to submit a PR fixing the
issue? Or even better implementing a test case that illustrates teh problem
along with the fix?

> Using <Export-Package> means, that most of the time you add a new package,
> it should be mentioned there. However there is a more general way and it is
> to replace  <Export-Package> with the following line:
> <_exportcontents>*</_exportcontents>
> 
> It will export ALL packages from the current bundle (not including the
> dependencies).

However, this also means that (potentially) private implementation packages are
exposed to clients, doesn't it?

Regards,
Kai

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


Back to the top