RFR: JDK-8302360 Atomic*.compareAndExchange Javadoc unclear [v2]
Viktor Klang
duke at openjdk.org
Tue Mar 7 10:23:57 UTC 2023
On Tue, 7 Mar 2023 02:43:42 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Viktor Klang has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Reverting wording change to AtomicReference compareAndExchange
>
> src/java.base/share/classes/java/util/concurrent/atomic/AtomicReference.java line 357:
>
>> 355: * @param newValue the new value
>> 356: * @return the <em>witness value</em>, which is the current value
>> 357: * at the time of the operation.
>
> This change is not appropriate as discussed in JBS. And unclear why you changed only this version? Leftover?
@dholmes-ora Good catch, will fix.
-------------
PR: https://git.openjdk.org/jdk/pull/12880
More information about the core-libs-dev
mailing list