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

Alan Bateman Alan.Bateman at oracle.com
Mon Oct 8 15:51:07 UTC 2018



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".

-Alan



More information about the security-dev mailing list