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

Remove ClassInitializationDeadlock #2806

Merged
merged 1 commit into from
May 30, 2024

Conversation

pkoenig10
Copy link
Member

@pkoenig10 pkoenig10 commented May 29, 2024

This is in preparation to upgrade ErrorProne. We can't upgrade until we remove this check and upgrade Baseline in this repo because the ClassInitializationDeadlock check conflicts with the identically named check contributed upstream in google/error-prone#2062.

Trying to compile with Error Prone 2.27.0 produces:

java.lang.IllegalArgumentException: Cannot combine scanner suppliers with different implementations of 'ClassInitializationDeadlock': com.palantir.baseline.errorprone.ClassInitializationDeadlock, com.google.errorprone.bugpatterns.ClassInitializationDeadlock

In a follow up PR I will upgrade Baseline and Error Prone so we once again have a ClassInitializationDeadlock check.

@pkoenig10 pkoenig10 force-pushed the pkoenig/classInitializationDeadlock branch from d4315b0 to efb1d9b Compare May 30, 2024 00:00
@pkoenig10 pkoenig10 requested a review from fawind May 30, 2024 00:00
Copy link
Contributor

@fawind fawind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice that this got accepted back upstream 🎉

@bulldozer-bot bulldozer-bot bot merged commit 010c883 into develop May 30, 2024
5 checks passed
@bulldozer-bot bulldozer-bot bot deleted the pkoenig/classInitializationDeadlock branch May 30, 2024 09:33
@svc-autorelease
Copy link
Collaborator

Released 5.54.0

@pkoenig10 pkoenig10 mentioned this pull request May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants