GROOVY-6666: fix accidental forced primtive unwrapping for boolean
GROOVY-6471: another try to bypass the AccessControlException on GAE