jdk/test/java/util/logging/Logger/getGlobal/policy
author dfuchs
Tue, 02 Jul 2013 19:47:58 +0200
changeset 18595 c6f81d76027a
child 19825 a7e79bc2e437
permissions -rw-r--r--
7184195: java.util.logging.Logger.getGlobal().info() doesn't log without configuration Summary: Due to subtle synchronization issues between LogManager & Logger class initialization the global logger doesn't have its 'manager' field initialized until the LogManager is initialized. This fix will ensure that the global logger has its 'manager' field set when getGlobal() is called. Reviewed-by: mchung, plevart

grant {
    permission java.util.PropertyPermission "java.util.logging.config.file", "write";
    permission java.util.PropertyPermission "test.src", "read";
    permission java.lang.RuntimePermission "setContextClassLoader";
    permission java.lang.RuntimePermission "shutdownHooks";
    permission java.util.logging.LoggingPermission "control";
};