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.
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.
- relates to
-
JDK-8249100 JEP 390: Warnings for Value-Based Classes
-
- Closed
-
- links to
-
Commit(master) openjdk/jdk/65f188f2
-
Review(master) openjdk/jdk/24986