[
https://issues.apache.org/jira/browse/ARIES-953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anne-Catherine Courouppe updated ARIES-953:
-------------------------------------------
Attachment: HeaderParser.patch
Here is a patch with a JUnit illustrating the type of header the regular
expression is meant to be able to deal with. Hope this helps.
> SPIFly: SPI-Consumer breaks when method has multiple parameters
> ---------------------------------------------------------------
>
> Key: ARIES-953
> URL: https://issues.apache.org/jira/browse/ARIES-953
> Project: Aries
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: o.a.a.spifly.dynamic.bundle-1.0.0-20121027.033140-20
> Eclipse 4.2
> Reporter: Kevin Milburn
> Assignee: David Bosschaert
> Attachments: HeaderParser.java.patch, HeaderParser.patch
>
>
> If a method used on the SPI-Consumer header contains multiple parameters, an
> erroneous exception is generated.
> e.g.
> SPI-Consumer: o.a.x.u.Service#providers(java.lang.Class,boolean)
> generates
> Must at least specify class name and method name: boolean
> While the ConsumerHeaderProcessor.java has code to deal with multiple
> parameters, the call to HeaderParser.parseHeader breaks the string
> incorrectly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)