In 2.0m4 on line 329 of Variant.java there is a ClassCastException if other is not an instanceof Variant.
That line should only be executed if the variable result of the previous line is true. If false then equals should just return false. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2398684