Closed
Description
Ivan Sopov opened SPR-15216 and commented
Version that I tested is 4.3.7.BUILD-SNAPSHOT with the fix for #19766
I've checked fix for #19766 and it works. But I have wrote another test:
It reveals that it is possible to successfully set value for this future, but success callback will not be executed and failure callback instead will be called. As in previous case it is the case of concurrently setting and cancelling future under race.
Affects: 4.3.6
Issue Links:
- SettableListenableFuture may be both set and canceled successfully [SPR-15202] #19766 SettableListenableFuture may be both set and canceled successfully
- SettableListenableFuture set has a race on Java6 (and old versions of Java7) [SPR-16183] #20731 SettableListenableFuture set has a race on Java6 (and old versions of Java7)
- SettableListenableFuture setException is inconsistent with callbacks under race [SPR-15409] #19972 SettableListenableFuture setException is inconsistent with callbacks under race