Possibility of using preview features(StableValue) in java.desktop module
Sergey Bylokhov
bylokhov at amazon.com
Wed Sep 24 23:06:01 UTC 2025
Hello,
I am exploring the use of StableValue feature in the java.desktop module:
https://download.java.net/java/early_access/jdk26/docs/api/java.base/java/lang/StableValue.html
Previously, the java.desktop module used preview features for Scoped Values, but that option was
later removed since that is not in a preview now:
https://github.com/openjdk/jdk/pull/26765
We have a lot of synchronization issues that might be addressed by the StableValue API. Can we use
it now, or should we keep using the current public synchronization APIs? or wait?
--
Best regards, Sergey.
More information about the client-libs-dev
mailing list