> On Apr 19, 2017, at 2:02 AM, Peter Levart <peter.lev...@gmail.com> wrote:
> 
> I wonder if there are (or will be) other places where such silent swallowing 
> of run-time exceptions happens or will happen. Wouldn't it be good to "fix" 
> Boolean.getBoolean() and friends?
> 
> I filed the following bug to track this:
> 
> https://bugs.openjdk.java.net/browse/JDK-8178966
> 

Thanks for creating the issue.  I fully agree that we should fix this and 
silent swallowing the exceptions makes the underlying problem unnoticed.

Your proposed patch looks good to me.  NPE would be thrown if it’s called 
before the system properties are initialized. 

Mandy

Reply via email to