Skip to content

Adding missing synchronization in runnable#11277

Merged
kannanjgithub merged 1 commit intogrpc:masterfrom
kannanjgithub:binderServiceGuardedBy
Jun 12, 2024
Merged

Adding missing synchronization in runnable#11277
kannanjgithub merged 1 commit intogrpc:masterfrom
kannanjgithub:binderServiceGuardedBy

Conversation

@kannanjgithub
Copy link
Contributor

Call to awaitTermination() should be access guarded but it is not when called from inside the runnable. This PR fixes that.

@jdcormie
Copy link
Member

Ouch! Anyone understand why the GuardedBy annotations aren't being enforced in gradle builds?

@ejona86
Copy link
Member

ejona86 commented Jun 11, 2024

That is checked by ErrorProne, and ErrorProne isn't configured for Android.

@ejona86
Copy link
Member

ejona86 commented Jun 11, 2024

@jdcormie, note that this wasn't a recent regression and likely not actually be a problem. It was just uncovered by me fixing the annotations in 0a4df9f

@kannanjgithub kannanjgithub merged commit 14fd81f into grpc:master Jun 12, 2024
larry-safran pushed a commit to larry-safran/grpc-java that referenced this pull request Aug 13, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants