Hello,
I'm having this issue in a restlet 2.1RC2 version.
I'm tring to deserialize an object that have a -1 value in an int variable and
it fails when the client tries to deserialize.
If I transform the int to double or use a positive value, it doesn't fails.
The error is raised on the line 76 of the ObjectRepresentation.java.
My test object is just:
public class TestFailNegative implements Serializable {
private int value;
public TestFailNegative()
{
value = -1;
}
}
This is annoying as I had spent a couple of days trying to figure out why my
code fail (but hopefully I found it :) )
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2918169