changeset 3025:0f23a139e819

6988310: SyncFactory.setLogger(Logger,Level) requires unspecified security permission Reviewed-by: darcy
author lancea
date Wed, 06 Oct 2010 10:09:58 -0400
parents b468b20a98a8
children 6fd4928b82a2
files src/share/classes/javax/sql/rowset/spi/SyncFactory.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/sql/rowset/spi/SyncFactory.java	Tue Oct 05 15:07:40 2010 +0100
+++ b/src/share/classes/javax/sql/rowset/spi/SyncFactory.java	Wed Oct 06 10:09:58 2010 -0400
@@ -652,7 +652,10 @@
      * required
      * @throws java.lang.SecurityException if a security manager exists and its
      *   {@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}
      * @see SecurityManager#checkPermission
+     * @see LoggingPermission
      */
     public static void setLogger(Logger logger, Level level) {
         // singleton