[concurrency-interest] Deprecate all java.util.concurrent.*FieldUpdater

Andrew Haley aph at redhat.com
Wed Oct 5 08:19:26 UTC 2016


On 04/10/16 22:19, Martin Buchholz wrote:
> VarHandle is a reasonable replacement for FieldUpdaters, but it's not yet
> complete (where is accumulateAndGet?), and when do you deprecate something
> when the replacement won't be ubiquitous for 10 years?

Surely you have to start somewhere: deprecation is no more than saying
to programmers "Don't use this, use that."  And if you were leaning
over someone's shoulder that's what you would say.

Andrew.




More information about the core-libs-dev mailing list