@Jens thanks

that worked (compiled) with the minimal diff - just an extra set of
parentheses.

I am keeping from the discussion - that this isn't needed any more since
Boolean is a mapped native js type and that specific code will never enter
the third clause of the if.

@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
<https://groups.google.com/forum/#%21searchin/google-web-toolkit/Virvilis%7Csort:relevance/google-web-toolkit/UqP0lX-ptgM/8DqCfW1GBwAJ>


On Tue, Aug 9, 2016 at 6:18 PM, Jens <jens.nehlme...@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+unsubscr...@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+unsubscr...@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.

Reply via email to