--- old/src/java.base/share/classes/java/lang/Boolean.java 2016-05-26 11:59:10.420617941 -0700 +++ new/src/java.base/share/classes/java/lang/Boolean.java 2016-05-26 11:59:10.220617944 -0700 @@ -117,7 +117,9 @@ * Parses the string argument as a boolean. The {@code boolean} * returned represents the value {@code true} if the string argument * is not {@code null} and is equal, ignoring case, to the string - * {@code "true"}.
+ * {@code "true"}. + * Otherwise, a false value is returned, including for a null + * argument.
* Example: {@code Boolean.parseBoolean("True")} returns {@code true}.
* Example: {@code Boolean.parseBoolean("yes")} returns {@code false}.
*
@@ -165,6 +167,8 @@
* specified string. The {@code Boolean} returned represents a
* true value if the string argument is not {@code null}
* and is equal, ignoring case, to the string {@code "true"}.
+ * Otherwise, a false value is returned, including for a null
+ * argument.
*
* @param s a string.
* @return the {@code Boolean} value represented by the string.
@@ -241,14 +245,12 @@
/**
* Returns {@code true} if and only if the system property named
- * by the argument exists and is equal to the string {@code
- * "true"}. (Beginning with version 1.0.2 of the Java™
- * platform, the test of this string is case insensitive.) A
- * system property is accessible through {@code getProperty}, a
- * method defined by the {@code System} class.
- *
- * If there is no property with the specified name, or if the specified - * name is empty or null, then {@code false} is returned. + * by the argument exists and is equal to, ignoring case, the + * string {@code "true"}. + * A system property is accessible through {@code getProperty}, a + * method defined by the {@code System} class.
If there is no + * property with the specified name, or if the specified name is + * empty or null, then {@code false} is returned. * * @param name the system property name. * @return the {@code boolean} value of the system property.