jdk-24/jdk/test/java/util/logging/HandlersConfigTest$Configured.props
Peter Levart 1403c7fe08 8030801: SocketHandler(host, port) requires permission ("java.util.logging.LoggingPermission" "control")
8029781: Theoretical data race on java.util.logging.Handler.sealed

Use privileged actions instead of racy boolean field to elevate privilege when constructing logging handlers

Reviewed-by: mchung, dfuchs
2014-01-07 09:54:16 +01:00

30 lines
1.2 KiB
XML

# mandatory Default properties...
.level= INFO
handlers=HandlersConfigTest$ConfiguredHandler
java.util.logging.MemoryHandler.target=HandlersConfigTest$ConfiguredHandler
# in addition to Default, Configured adds the following...
java.util.logging.MemoryHandler.level=FINE
java.util.logging.MemoryHandler.filter=HandlersConfigTest$ConfiguredFilter
java.util.logging.MemoryHandler.formatter=HandlersConfigTest$ConfiguredFormatter
java.util.logging.MemoryHandler.size=123
java.util.logging.MemoryHandler.push=FINE
java.util.logging.ConsoleHandler.level=FINE
java.util.logging.ConsoleHandler.encoding=ASCII
java.util.logging.ConsoleHandler.filter=HandlersConfigTest$ConfiguredFilter
java.util.logging.ConsoleHandler.formatter=HandlersConfigTest$ConfiguredFormatter
java.util.logging.StreamHandler.level=FINE
java.util.logging.StreamHandler.encoding=ASCII
java.util.logging.StreamHandler.filter=HandlersConfigTest$ConfiguredFilter
java.util.logging.StreamHandler.formatter=HandlersConfigTest$ConfiguredFormatter
java.util.logging.SocketHandler.level=FINE
java.util.logging.SocketHandler.encoding=ASCII
java.util.logging.SocketHandler.filter=HandlersConfigTest$ConfiguredFilter
java.util.logging.SocketHandler.formatter=HandlersConfigTest$ConfiguredFormatter