6988310: SyncFactory.setLogger(Logger,Level) requires unspecified security permission

Reviewed-by: darcy
This commit is contained in:
Lance Andersen 2010-10-06 10:09:58 -04:00
parent 246920e930
commit c532790517

View File

@ -652,7 +652,10 @@ public class SyncFactory {
* required * required
* @throws java.lang.SecurityException if a security manager exists and its * @throws java.lang.SecurityException if a security manager exists and its
* {@code checkPermission} method denies calling {@code setLogger} * {@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 SecurityManager#checkPermission
* @see LoggingPermission
*/ */
public static void setLogger(Logger logger, Level level) { public static void setLogger(Logger logger, Level level) {
// singleton // singleton