On 01/11/2017 02:55 AM, Paul Sandoz wrote: > I am concerned it’s getting too late to twiddle with the security setting so > i took the plunge and wrapped the privateLookupIn calls in doPrivileged > blocks. It’s ugly but avoids the circularity (JPRT core/hotspot testing has > not failed). > > http://cr.openjdk.java.net/~psandoz/jdk9/8160710-thread-to-tlr/webrev/
This looks good. Trivially, the comment, "Initialized lazily on demand”, applies to the lazy instantiation of the static nested class rather than the fields themselves. I wonder if it would be better at the nested class level, rather than at the fields. -Chris.