[ http://jira.codehaus.org/browse/XFIRE-380?page=all ]

Dan Diephouse updated XFIRE-380:
--------------------------------

    Fix Version:     (was: 1.1)
        Summary: ParamReader.getParameterNamesFromDebugInfo() doesnt  work with 
interfaces  (was: ParamReader.getParameterNamesFromDebugInfo() doesnt seem to 
work)

This does work with regular classes (we have unit tests for it even!). but it 
doesn't work if your service class is an interface. Since I don't know how to 
parse class files, I can't fix this. Someone is welcome to try and provide a 
patch to ParamReader though.

> ParamReader.getParameterNamesFromDebugInfo() doesnt  work with interfaces
> -------------------------------------------------------------------------
>
>          Key: XFIRE-380
>          URL: http://jira.codehaus.org/browse/XFIRE-380
>      Project: XFire
>         Type: Bug

>   Components: Core
>     Versions: 1.1-RC1
>  Environment: Spring service with debug compiled code.
>     Reporter: Stuart Barlow
>     Assignee: Dan Diephouse
>     Priority: Minor

>
>
> The static ParamReader.getParameterNamesFromDebugInfo() creates a new 
> ParamReader(c) which does not populate the private member Map 'methods'. The 
> private member Map 'methods' is only populated from the readCode() method 
> which is never called. And even then it only calls methods.put(methodName, 
> info) once.
> So I guess there is a bug or two in the ParamReader class? Or I might be 
> wrong.
> I dont think the ParamReader class works for Interfaces or Classes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to