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

Check for chance of class init deadlock with non-nested subclass #4431

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

copybara-service[bot]
Copy link
Contributor

Check for chance of class init deadlock with non-nested subclass

This PR fixes a bug with the ClassInitializationDeadlock check to find chances for a class initialization deadlock when the subclass isn't nested within the superclass. This situation can still produce a deadlock.

Fixes #4429

FUTURE_COPYBARA_INTEGRATE_REVIEW=#4429 from HubSpot:non-nested-class-init-deadlock c5cc883

This PR fixes a bug with the `ClassInitializationDeadlock` check to find chances for a class initialization deadlock when the subclass isn't nested within the superclass. This situation [can still produce a deadlock](https://gist.github.com/tkindy/a83ec86c95bb7d7119f6b208d239ea94).

Fixes #4429

COPYBARA_INTEGRATE_REVIEW=#4429 from HubSpot:non-nested-class-init-deadlock c5cc883
PiperOrigin-RevId: 642281177
@copybara-service copybara-service bot merged commit f29d6e5 into master Jun 11, 2024
@copybara-service copybara-service bot deleted the test_641925847 branch June 11, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant