Skip to content

Conversation

@carterkozak
Copy link
Contributor

Before this PR

False positive preventing baseline upgrades in sls-packaging: palantir/sls-packaging#1062

After this PR

Accessing the class field does not initialize a class.
==COMMIT_MSG==
Fix false positive ClassInitializationDeadlock on .class access
==COMMIT_MSG==

Possible downsides?

There are operations one can invoke upon the Class object which will initialize
the referenced class, but those are relatively rare and out of scope for this check.

Accessing the class field does not initialize a class. There are
operations one can invoke upon the class object which will initialize
the class, but those are relatively rare and out of scope for this
check.
@changelog-app
Copy link

changelog-app bot commented Feb 23, 2021

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Fix false positive ClassInitializationDeadlock on .class access

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from fawind February 23, 2021 18:12
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.

Makes sense to allow this!

@bulldozer-bot bulldozer-bot bot merged commit 26676fc into develop Feb 23, 2021
@bulldozer-bot bulldozer-bot bot deleted the ckozak/ClassInitializationDeadlock_class_access branch February 23, 2021 18:44
@svc-autorelease
Copy link
Collaborator

Released 3.68.1

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.

4 participants