6999086: Clarify that SyncFactory.setLogger can throw an NullPointerException
Reviewed-by: alanb
--- a/jdk/src/share/classes/javax/sql/rowset/spi/SyncFactory.java Fri Nov 12 21:33:14 2010 +0800
+++ b/jdk/src/share/classes/javax/sql/rowset/spi/SyncFactory.java Fri Nov 12 08:41:03 2010 -0500
@@ -596,6 +596,7 @@
* @param logger A Logger object instance
* @throws java.lang.SecurityException if a security manager exists and its
* {@code checkPermission} method denies calling {@code setLogger}
+ * @throws NullPointerException if the logger is null
* @see SecurityManager#checkPermission
*/
public static void setLogger(Logger logger) {
@@ -633,6 +634,7 @@
* {@code checkPermission} method denies calling {@code setLogger}
* @throws java.util.logging.LoggingPermission if a security manager exists and its
* {@code checkPermission} method denies calling {@code setLevel}
+ * @throws NullPointerException if the logger is null
* @see SecurityManager#checkPermission
* @see LoggingPermission
*/