[
https://issues.apache.org/jira/browse/ARIES-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14935104#comment-14935104
]
Wouter Bancken commented on ARIES-1423:
---------------------------------------
We do consider this to be a blocking issue. We understand that Aries will
enforce that all OSGi-headers have to have a clause. However, since manifests
can also contain headers that aren't related to OSGi (like the ones in the
attached manifest), we think that empty clauses should be allowed for non-OSGi
headers.
Especially since third party bundles (like Eclipse Gemini Blueprint extender in
this case) tend to have headers with empty clauses and we have no control over
these projects.
> IllegalArgumentException when GenericHeader has no clauses
> ----------------------------------------------------------
>
> Key: ARIES-1423
> URL: https://issues.apache.org/jira/browse/ARIES-1423
> Project: Aries
> Issue Type: Bug
> Components: Subsystem
> Affects Versions: subsystem-2.0.3
> Reporter: Wouter Bancken
> Fix For: subsystem-2.0.3
>
> Attachments: MANIFEST.MF
>
>
> When trying to install a subsystem which contains bundles that have a
> manifest that contains empty headers, the AbstractClauseBasedHeader throws an
> IllegalArgumentException.
> Example headers are (manifest attached to this issue)
> {code}
> Build-Plan:
> Build-Number:
> {code}
> The exception is caused by the rework of the AbstractClauseBasedHeader for
> ARIES-1387.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)