Skip to content

Give package exports of fragments the identity of their host - #586

Open
laeubi wants to merge 1 commit into
apache:masterfrom
laeubi:felix-hosted-identity
Open

laeubi wants to merge 1 commit into
apache:masterfrom
laeubi:felix-hosted-identity

Conversation

@laeubi

@laeubi laeubi commented Oct 30, 2026

Copy link
Copy Markdown

Core specification 3.6.5 (Export-Package) defines the bundle-symbolic-name and bundle-version of a fragment's export as the ones of the host. Requirements that filter on these attributes (as generated by bnd for the SWT fragments) did not match, because the resolve context sees the capability as declared by the fragment.

Ask the resolve context without these filter terms as well, report the host identity on hosted capabilities and drop candidates that do not match the original filter once fragments are merged into their hosts.

See discussion at eclipse-platform/eclipse.platform.swt#1032

Core specification 3.6.5 (Export-Package) defines the
bundle-symbolic-name and bundle-version of a fragment's export as the
ones of the host. Requirements that filter on these attributes (as
generated by bnd for the SWT fragments) did not match, because the
resolve context sees the capability as declared by the fragment.

Ask the resolve context without these filter terms as well, report the
host identity on hosted capabilities and drop candidates that do not
match the original filter once fragments are merged into their hosts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant