--- old/src/share/classes/java/lang/Boolean.java 2011-09-20 16:43:18.000000000 -0700 +++ new/src/share/classes/java/lang/Boolean.java 2011-09-20 16:43:17.000000000 -0700 @@ -229,6 +229,8 @@ * * @param name the system property name. * @return the {@code boolean} value of the system property. + * @throws SecurityException for the same reasons as + * {@link System#getProperty(String) System.getProperty} * @see java.lang.System#getProperty(java.lang.String) * @see java.lang.System#getProperty(java.lang.String, java.lang.String) */ @@ -236,8 +238,7 @@ boolean result = false; try { result = toBoolean(System.getProperty(name)); - } catch (IllegalArgumentException e) { - } catch (NullPointerException e) { + } catch (IllegalArgumentException | NullPointerException e) { } return result; }