Weird ClassCastException

Tal Liron tal.liron at threecrickets.com
Thu Nov 7 05:35:59 PST 2013


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" :-)
>



More information about the nashorn-dev mailing list