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

Add locks to BundleWiringImpl. #341

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hq6
Copy link

@hq6 hq6 commented Oct 28, 2024

The lack of locking in findClassOrResourceByDelegation and loadClass is causing race conditions that manifest as NoClassDefFoundError in a killbill deployment.

This PR is intended to fix these by adding synchronization.

The lack of locking in findClassOrResourceByDelegation and loadClass is causing race conditions that manifest as NoClassDefFoundError in a killbill deployment.

This change works towards fixing these by adding synchronization.
@hq6 hq6 force-pushed the hqin/fix_synchronization branch from 449729d to f55c38f Compare October 28, 2024 17:41
@hq6
Copy link
Author

hq6 commented Oct 28, 2024

This PR will be easier to understand if you hide whitespace changes:
https://github.com/apache/felix-dev/pull/341/files?diff=unified&w=1

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