Review request for 6810254 (v01)

Mandy Chung Mandy.Chung at Sun.COM
Wed Mar 11 17:29:51 UTC 2009


David, Alan,

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.

Webrev at:
   http://cr.openjdk.java.net/~mchung/6810254/webrev.01/

Thanks
Mandy

On 03/04/09 23:01, Mandy Chung wrote:
> 6810254: Lazily instantiate the shared secret access objects
> 
> Webrev at:
>   http://cr.openjdk.java.net/~mchung/6810254/webrev.00/
> 
> 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.
> 
> Thanks
> Mandy



More information about the core-libs-dev mailing list