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

Remove @ValueBased from ProcessHandle

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • core-libs
    • None
    • master

      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.

            rriggs Roger Riggs
            dlsmith Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: