Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding missing synchronization in runnable #11277

Merged
merged 1 commit into from
Jun 12, 2024

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
13 checks passed
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