Annotate lazy fields in java.security @Stable

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: None
    • Component/s: 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.

            Assignee:
            Koushik Muthukrishnan Thirupattur
            Reporter:
            Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: