History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: RESTEASY-26
Type: Bug Bug
Status: Closed Closed
Resolution: Done
Priority: Major Major
Assignee: Bill Burke
Reporter: Bill Burke
Votes: 0
Watchers: 0
Operations

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

MessageBodyWriter matching should use the entity class, not the method's reflected return type.

Created: 09/Apr/08 02:37 PM   Updated: 09/Apr/08 02:37 PM
Component/s: None
Affects Version/s: Beta2
Fix Version/s: Beta3

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
it seems that MessageBodyWriter.isWriteable(Class,
Type, Annotation[]) gets passed the declared type of the method instead of
the actual class of the return value. This caused problems with JAXBProvider
as my concrete implementations had a @XmlRootElement annotation but the
actual Device implementation did not.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order:
There are no comments yet on this issue.