Relates :
|
sun.misc.VM.booted() is currently called before setJavaLangAccess. For code which uses the JavaLangAccess shared secrets it's convenient to be able to check whether the secrets are initialized. In particluar with the static inner class holder idiom: static class Holder { final sun.misc.JavaLangAccess ACCESS = sun.misc.SharedSecrets.getJavaLangAccess(); } ... if(sun.misc.VM.isBooted() && Holder.ACCESS...
|