Request: Remove System.out check from Class.checkInitted()
Jeroen Frijters
jeroen at sumatra.nl
Wed Dec 4 08:24:05 UTC 2013
Hi,
I'd like to propose to change Class.checkInitted() to check if the VM initialization has completed by using sun.misc.VM.isBooted() instead of System.out != null.
The current check needlessly triggers System class initialization (thus complicating bootstrap initialization order on VMs that don't have a strict initialization bootstrap) and is also not strictly correct, because System.out == null is a valid state after initialization has completed.
Thanks,
Jeroen
More information about the core-libs-dev
mailing list