Boolean.getBoolean(String str) always return false
807605Aug 30 2007 — edited Aug 30 2007I'm on macOSX (Tiger), using JSDK 1.5.
The function Boolean.getBoolean() return always false.
I try Boolean.getBoolean("true");
Boolean.getBoolean(Boolean.toString(Boolean.TRUE));
...
always false.
Is it a bug only on macOS, or does I do something wrong?
so i just made mybooleanVar.equals("true"); done the right result, but it's just strange that the Boolean.getBoolean(...) function did not return the right value... And I can't send this bug to sun, because they don't assure support for macOSX platform... :s