Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8211860

Avoid reading security properties eagerly on Manifest class initialization

XMLWordPrintable

    • b14
    • b15

      JDK-8207768 moved some property initialization that depends on the security properties file into Manifest.<clinit>, meaning that any jar file with a manifest will load the security properties eagerly. However, this property is only read if/when an exception occurs, so it can profitably be initialized lazily.

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: