Remove @ValueBased from ProcessHandle

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: 25
    • Component/s: core-libs
    • None
    • b22

      The @jdk.internal.ValueBased annotation is used to drive javac warnings about synchronization on classes that will eventually become value classes.

      Part of an older design for value classes is that an interface could declare that it only had value class implementations. That feature has since been abandoned. There will not be a future ability to declare that the interface ProcessHandle only has value class implementations.

      Thus, there should no longer be warnings related to synchronization on ProcessHandle, and the @ValueBased annotation should no longer be applied.

            Assignee:
            Roger Riggs
            Reporter:
            Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: