Red Hat Bugzilla – Bug 851112
Last modified: 2015-11-01 19:43:00 EST
var my = java.lang.Boolean.FALSE;
var myjs = Boolean(my);
myjs; // is TRUE!!!
Version-Release number of selected component (if applicable):
I think this works as expected, even though it is confusing.
If you had:
var my = java.lang.Boolean.FALSE.booleanValue();
the rest of the code would have worked as expected.