"Non Null" is exactly what we do internally as well for converting the 
non-obvious data types to Boolean...

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Tal Liron
Sent: Thursday, November 07, 2013 8:36 AM
To: [email protected]
Subject: Re: Weird ClassCastException

That's almost exactly what I wrote before, but I sent it to Rick directly by 
mistake. :)

On 11/07/2013 07:47 PM, Attila Szegedi wrote:
> Well, the issue here is that according to JavaScript semantics, every 
> object has a boolean value, and that boolean value is true, so the 
> conversion is definitely valid going from Java to JavaScript, although 
> you can argue whether it'd merit to be qualified as "regretfully 
> valid" :-)
>

Reply via email to