Code Review 6863419: MimeTable initialization is too greedy

Alan Bateman Alan.Bateman at oracle.com
Tue Oct 12 06:29:12 PDT 2010


Chris Hegarty wrote:
> Alan, Michael,
>
> This is the JDK part of the changes for this CR. Trivially, it just 
> fixes the unsafe lazy initialization of default instance of MimeTable.
>
> http://cr.openjdk.java.net/~chegar/6863419/webrev.00/webrev/
>
> Thanks,
> -Chris.
Looks okay to me. A comment on the new DefaultInstanceHolder class would 
be good. One other thing is that the bug synopsis and description is 
mis-leading so maybe they should be changed/updated.

-Alan.



More information about the net-dev mailing list