Hello, I'm just a research student making use of Jaxme JS component.

I think I found a tiny bug in

org.apache.ws.jaxme.js.AbstractJavaMethod

two methods

getParamNames() and getParamTypes() (line# 164 and 177 respectively)

both uses the following snippet

for (int i = 0;  i < params.size();  i++) {
res[i++] = ((Parameter) params.get(i)).getName(); }

the local variable i is being incremented twice in each loop, causing the params (ArrayList) to throw ArrayIndexOutOfBound exception.

Thanks,

Byn

ps. I'm not subscribed to the mailinglist so please forward any email to this address.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to