Proposed fix for Open JDKs / Oracle JDKs >= 1.7 for rendering Booleans

Please review and pull if you agree. Thx, Carsten