Description
In JobHandleImpl, setting the result and updating the state are different methods, so the job handle may report a final result before the handle's state changes to succeeded (for example).
This affects the unit tests in that module in certain cases.