Skip to content

Conversation

@chrisrueger
Copy link
Contributor

@chrisrueger chrisrueger commented Jan 2, 2026

Closes #7028

The problem was introduced in #6798 and this is a (quick) fix to restore 7.1.0 behavior.

Also added a testcase so that we have this covered. In the future we could look into a better fix if needed (with the help of @gnodet ), which would require special reorderClause for Bundle-NativeCode, because this header is special and cannot be parsed like normal OSGi headers, as Bundle-NativeCode is the only OSGi header with positional elements (paths) before attributes.

Fixes bndtools#7028
Also added a testcase so that we have this covered. In the future we could look into a better fix if needed, which would require special reorderClause for Bundle-NativeCode, because this header is special and cannot be parsed like normal OSGi headers, as Bundle-NativeCode is the only OSGi header with positional elements (paths) before attributes.

Signed-off-by: Christoph Rueger <chrisrueger@gmail.com>
@chrisrueger chrisrueger merged commit 023df95 into bndtools:master Jan 3, 2026
11 checks passed
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.

Version 7.2.0 incorrectly separates Bundle-NativeCode clauses with commas instead of semicolons

1 participant