diff -r c496d54879f4 -r ab8c1e3b237b jdk/src/share/classes/java/lang/Long.java --- a/jdk/src/share/classes/java/lang/Long.java Tue Sep 20 12:27:45 2011 -0700 +++ b/jdk/src/share/classes/java/lang/Long.java Tue Sep 20 18:33:25 2011 -0700 @@ -827,6 +827,8 @@ * * @param nm property name. * @return the {@code Long} value of the 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) */ @@ -870,6 +872,8 @@ * @param nm property name. * @param val default value. * @return the {@code Long} value of the 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) */ @@ -917,6 +921,8 @@ * @param nm property name. * @param val default value. * @return the {@code Long} value of the property. + * @throws SecurityException for the same reasons as + * {@link System#getProperty(String) System.getProperty} * @see System#getProperty(java.lang.String) * @see System#getProperty(java.lang.String, java.lang.String) */