RFR:7184195 - java.util.logging.Logger.getGlobal().info() doesn't log without configuration

Jim Gish jim.gish at oracle.com
Wed Apr 24 21:23:00 UTC 2013

Please review 

This is a simple fix that removes a long-standing bug in acquiring a 
using the global Logger in which Logger.getGlobal().info() (for 
example), would not log without additional configuration that would 
trigger LogManager initialization.  I have also added a test to reassure 
us that I have not introduced a deadlock between LogManager 
initialization and getting the global logger.

In addition, I've introduced a utility class I developed during a recent 
fix to a logging deadlock, which helps us detect and report on the 
details of a deadlock.


Jim Gish | Consulting Member of Technical Staff | +1.781.442.0304
Oracle Java Platform Group | Core Libraries Team
35 Network Drive
Burlington, MA 01803
jim.gish at oracle.com

More information about the core-libs-dev mailing list