Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark
java.time.InstantSource
and java.time.Clock
as thread safe.
Also, annotate `FakeTimeSource` with `@ThreadSafe` to fix breakages caused by marking `InstantSource` as thread safe. `TimeSource` and `common.time.Clock` should also be annotated directly, but we would need to fix or suppress all existing implementations of them first, so I left a TODO instead. Context: http://yaqs/6914049073339170816 Tested: TAP for global presubmit queue [] PiperOrigin-RevId: 705936781
- Loading branch information