Issue Details (XML | Word | Printable)

Key: XFIRE-364
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dan Diephouse
Reporter: Dan Diephouse
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XFire

Java 5 module is broken on JRockit

Created: 25/Apr/06 01:58 PM   Updated: 09/May/06 02:57 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1

Time Tracking:
Not Specified



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dan Diephouse added a comment - 26/Apr/06 07:24 PM
This is fixed now in SVN.

Tim Smith added a comment - 08/May/06 07:19 AM
I have just experienced this problem using XFire 1.1RC on Weblogic 9.1 with JRockit 5.0.

From Java5TypeCreator.java lines 85-87:
if (m.getParameterAnnotations() == null || m.getParameterAnnotations().length > index

m.getParameterAnnotations()[index] == null)
return null;

It seems that the second or condition "m.getParameterAnnotations().length > index" is not correct and that it should be "m.getParameterAnnotations().length <= index".


Dan Diephouse added a comment - 09/May/06 02:57 PM
Thanks Tim. I fixed this in SVN.