http://gwt-code-reviews.appspot.com/102804/diff/1044/113 File user/src/com/google/gwt/uibinder/rebind/FieldReference.java (right):
http://gwt-code-reviews.appspot.com/102804/diff/1044/113#newcode79 Line 79: } On 2009/11/11 22:17:15, Ray Ryan wrote: > I'm concerned that this primitives check will puke on valid code, e.g. it will > refuse a double d = new Double(25.0). Any idea of TypeOracle knows about that > kind of thing? I'm thinking I should delete this part. TypeOracle's JPrimitiveType has getQualifiedBoxedSourceName() which will give you the name of the type that is the boxed version of the primitive. AFAIK however, there is no special support making it easy to see what is assignable across boxing/unboxing. http://gwt-code-reviews.appspot.com/102804 --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
