This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
However, here the parseBoolean("trUe") returns the boolean value "true" and then tries to call the getClass() method on the primitive which causes the below compilation error.
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Cannot invoke getClass() on the primitive type boolean
Not sure if anyone already reported this or discussed here before.