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

Annotate lazy fields in java.security @Stable

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • security-libs
    • None

      Several classes in the `java.security` package lazily compute their hash value and store it in a field. These fields can typically be annotated with the `@Stable` annotation. Many of the current implementations are using -1 as a flag for not computed, this needs to be refactored away.

      Here are some examples of such classes: PKCS12Attribute, Timestamp, Certificate, and URICertStoreParameters.

            kthirupattur Koushik Muthukrishnan Thirupattur
            pminborg Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: