6988310: SyncFactory.setLogger(Logger,Level) requires unspecified security permission
Reviewed-by: darcy
This commit is contained in:
parent
246920e930
commit
c532790517
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user