Review request for 8038177 Eliminate unnecessary dependency to sun.security.action

Mandy Chung mandy.chung at oracle.com
Tue Mar 25 20:41:40 UTC 2014


On 3/24/2014 8:15 AM, Alan Bateman wrote:
> On 21/03/2014 21:28, Mandy Chung wrote:
>> This is the second patch to eliminate the dependencies to 
>> sun.security.action:
>>    https://bugs.openjdk.java.net/browse/JDK-8038177
>>
>> Webrev at:
>> http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8038177/webrev.00/
>>
> It looks good to me too. The only one that I wonder about is 
> ExtendedCharsets and whether this might run early in the startup on 
> some locales.

The ExtendedCharsets.init method has a check to ensure that the VM has 
been booted.  Sherman can confirm that.

1170     protected void init() {
1171         if (initialized)
1172             return;
1173         if (!sun.misc.VM.isBooted())
1174             return;

Mandy



More information about the core-libs-dev mailing list