changeset 6846:2cfd1dfb014b

6988310: SyncFactory.setLogger(Logger,Level) requires unspecified security permission Reviewed-by: darcy
author lancea
date Wed, 06 Oct 2010 10:09:58 -0400
parents 0138b84aafdd
children b45ff1bbe52f
files jdk/src/share/classes/javax/sql/rowset/spi/SyncFactory.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/share/classes/javax/sql/rowset/spi/SyncFactory.java	Tue Oct 05 15:07:40 2010 +0100
+++ b/jdk/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