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

Obsolete UseImplicitStableValues

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P4
    • Resolution: Approved
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      Use of this diagnostic flag has no effect since JDK 9
    • Interface Kind:
      add/remove/modify command line option

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: