Review request for 6810254 (v01)
Mandy.Chung at Sun.COM
Wed Mar 11 10:29:51 PDT 2009
Thanks for your feedback. I revise the fix per Alan's suggestion. I
decide not to keep the fix to lazily initialize the shutdown hook only.
So java.io.Console, DeleteOnExitHook and
java.lang.ApplicationShutdownHooks are only loaded when the app uses it.
On 03/04/09 23:01, Mandy Chung wrote:
> 6810254: Lazily instantiate the shared secret access objects
> Webrev at:
> sun.misc.Java*Access objects are created at initialization time.
> However, they are not always needed. They can be instantiated lazily
> when needed. The fix is to add a static setSharedSecret() method to be
> called by sun.misc.SharedSecrets via reflection when the shared secret
> access object is requested.
More information about the core-libs-dev