RFR: 8211860: Avoid reading security properties eagerly on Manifest class initialization

Claes Redestad claes.redestad at oracle.com
Mon Oct 8 15:59:05 UTC 2018



On 2018-10-08 17:51, Alan Bateman wrote:
>
>
> On 08/10/2018 16:24, Claes Redestad wrote:
>> Hi,
>>
>> JDK-8207768 cause a noticeable regression in a subset of our startup 
>> tests due eagerly loading security.properties for getting a property 
>> that's only used in exceptional circumstances. Ensuring Manifest 
>> doesn't eagerly read in the property value in the static initializer 
>> avoids this.
>>
>> Webrev: http://cr.openjdk.java.net/~redestad/8211860/jdk.00/
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8211860
> This looks okay to me although something like "JAR_NAME" might be 
> better than "JAR".

Sure!

/Claes



More information about the security-dev mailing list