@Jens thanks
that worked (compiled) with the minimal diff - just an extra set of parentheses.@Paul, @Jens thanks also for the clarification about the mapped boxed types.
So what about integer?. In some tests (not sure if they test the correct thing though) did looks like it is mapped to number.
What about String[] arrays? In my current tests (git gwt ~rc2) still they are not mapped directly to js. See https://groups.google.com/forum/#!searchin/google-web-toolkit/Virvilis%7Csort:relevance/google-web-toolkit/UqP0lX-ptgM/8DqCfW1GBwAJ
On Tue, Aug 9, 2016 at 6:18 PM, Jens <jens.nehlmeier@gmail.com> wrote:
From my understanding (which is not much) the whole point is moot. Looks like java Boxed types (Boolean, Double, Integer) are mapped directly to JS primitives so the need for the above code is gone. Is that right?Yes but only Boolean, Double and String are mapped.If yes and just for the shake of syntax curiosity: what is the correct syntax to invoke the booleanValue() of a Boolean object?value.@Boolean::booleanValue()(); -- J.--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com .
To post to this group, send email to google-web-toolkit@googlegroups.com .
Visit this group at https://groups.google.com/group/google-web-toolkit .
For more options, visit https://groups.google.com/d/optout .
--
Vassilis Virvilis
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment