gwt /
gwt /
1b5bd9284c46de639274d7fb62a2b9fe7402c7a2 Fixed for problems caused by r1555. The problem was that doing an arrayList.add(Element) would not wrap the element going into JSNI, and the object would fail a dynamic type check upon retrieval.
The solution is to actually do the wrapping exactly when the declared type of the parameter passing into JSNI is not JavaScriptObject or a subclass. We comply by making it a valid Java Object. If the declared type is JSO or a subclass, then there's no reason to wrap.
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1571 8db76d5a-ed1c-0410-87a9-c151d255dfc7
1 file changed