Details
-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b108
-
Verified
Description
Two SE8 new lambda-compatible methods
http://download.java.net/jdk8/docs/api/java/util/concurrent/atomic/AtomicLongArray.html#getAndAccumulate%28int,%20int,%20java.util.function.LongBinaryOperator%29
http://download.java.net/jdk8/docs/api/java/util/concurrent/atomic/AtomicLongArray.html#accumulateAndGet%28int,%20int,%20java.util.function.LongBinaryOperator%29
have "int x" parameter
Parameters:
x - the update value
which looks like a mistake.
"x" should have type "long".
http://download.java.net/jdk8/docs/api/java/util/concurrent/atomic/AtomicLongArray.html#getAndAccumulate%28int,%20int,%20java.util.function.LongBinaryOperator%29
http://download.java.net/jdk8/docs/api/java/util/concurrent/atomic/AtomicLongArray.html#accumulateAndGet%28int,%20int,%20java.util.function.LongBinaryOperator%29
have "int x" parameter
Parameters:
x - the update value
which looks like a mistake.
"x" should have type "long".
Attachments
Issue Links
- relates to
-
JDK-8001666 Add lambda-compatible atomics and accumulators to the ActomicXXX classes
- Resolved
- links to