What steps will reproduce the problem?
1. Create a CssResource with a constant declaration (ie : @def beginWidth 9px;)
2. Create a method returning an int in the corresponding CssResource interface
: int beginWidth();
3. Call the method during a test
What is the expected output? What do you see instead?
The method should return 9, but it throws a ClassCaseException : the Proxy
method actually returns a String.
A correction might be to modify CssResourceCallback.call(Method method,
Object[] args) : instead of calling handleCustomMethod in the last case, the
method's return type can be tested to return an Integer if the method should
return an int (autoboxing should do the trick, but i'm not sure)
What version of the product are you using? On what operating system?
0.33.4 / gwt2.3
Original issue reported on code.google.com by etienne....@gmail.com on 5 Feb 2013 at 8:45
Original issue reported on code.google.com by
etienne....@gmail.com
on 5 Feb 2013 at 8:45