Obsolete UseImplicitStableValues

XMLWordPrintable

    • Type: CSR
    • Resolution: Approved
    • Priority: P4
    • 13
    • Component/s: hotspot
    • None
    • behavioral
    • minimal
    • Use of this diagnostic flag has no effect since JDK 9
    • add/remove/modify command line option

      Summary

      Obsolete UseImplicitStableValues in JDK 13 and expire it in JDK 14.

      Problem

      UseImplicitStableValues was added to treat String.value as a stable, trusted field, but was made redundant when String.value was explicitly annotated with @Stable in JDK-8150180.

      Solution

      Obsolete and expire UseImplicitStableValues, removing the small piece of code in the compiler guarded by this.

      Specification

      Obsolete UseImplicitStableValues in JDK 13.

            Assignee:
            Claes Redestad
            Reporter:
            Claes Redestad
            Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: