-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Try to remove SuppressWarnings("GuardedBy") #6578
Comments
This supports releasing a new version of GuardedBy which finds more mistakes than it used to. Filed #6578 to try to clean up the suppressions.
This supports releasing a new version of GuardedBy which finds more mistakes than it used to. Filed grpc#6578 to try to clean up the suppressions.
This supports releasing a new version of GuardedBy which finds more mistakes than it used to. Filed #6578 to try to clean up the suppressions. Co-authored-by: Graeme Morgan <[email protected]>
This supports releasing a new version of GuardedBy which finds more mistakes than it used to. Filed grpc#6578 to try to clean up the suppressions.
Started Analysis and going through details. |
This comment for example, says
Why should it be guarded instead by stream.transportState().lock? What was the change in behavior that CL/282908895 introduced in ErrorProne? At least the above usage seems like would make the code worse if we don't guard it on this.lock that it does today. @ejona86 |
@ejona86 do you have any further updates on this? |
I wasn't suggesting we remove necessary locks. I was suggesting organize the code such that the tooling can verify the locking. |
#6566 introduced suppressions to allow being compatible with newer versions of Error Prone. But we should spend some time to see if we could tweak the code so that the suppressions would be unnecessary.
If we can't remove them or if it would make the code worse, we can leave them as-is and close this issue.
The text was updated successfully, but these errors were encountered: