Skip to content

Conversation

@kelunik
Copy link
Contributor

@kelunik kelunik commented Jul 28, 2025

Avoids synchronization need by using ThreadLocal.

Fixes #3873.

Check List:

@kelunik
Copy link
Contributor Author

kelunik commented Jul 31, 2025

@scordio I've applied the spotless code style changes, could you re-approve the pipeline?

@scordio scordio self-assigned this Aug 2, 2025
@scordio scordio changed the base branch from main to 3.x August 2, 2025 22:04
@scordio
Copy link
Member

scordio commented Aug 2, 2025

@kelunik as we want to bring this fix in 3.27.4, I changed the target branch of this PR.

I'll take care of rebasing your changes.

Avoids synchronization need by using ThreadLocal.

Fixes assertj#3873.
@kelunik
Copy link
Contributor Author

kelunik commented Aug 3, 2025

@scordio Had some time, so already did the rebase.

@scordio scordio merged commit 7461b68 into assertj:3.x Aug 3, 2025
14 checks passed
@scordio
Copy link
Member

scordio commented Aug 3, 2025

This is now merged. Many thanks for your first contribution, @kelunik!

@kelunik kelunik deleted the issue-3873 branch August 3, 2025 07:46
@kelunik
Copy link
Contributor Author

kelunik commented Aug 3, 2025

Thanks!

@scordio scordio changed the title Fix thread-safety in AbstractDateAssert Fix thread-safety in AbstractDateAssert Aug 7, 2025
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.

Thread safety regression in AbstractDateAssert

2 participants