Skip to content

Fixes #3332: Make InlineByteBuddyMockMaker thread-safe#3813

Open
UtkarshSinghChauhan wants to merge 2 commits into
mockito:mainfrom
UtkarshSinghChauhan:fix/bughunter-issue-3332
Open

Fixes #3332: Make InlineByteBuddyMockMaker thread-safe#3813
UtkarshSinghChauhan wants to merge 2 commits into
mockito:mainfrom
UtkarshSinghChauhan:fix/bughunter-issue-3332

Conversation

@UtkarshSinghChauhan

Copy link
Copy Markdown

This PR fixes the issue #3332 by making the InlineByteBuddyMockMaker thread-safe. The fix involves synchronizing the creation of mock types and the invocation of methods on the mock objects. The tests verify that the createMockType method and the handle method are thread-safe. Fixes #3332

@raphw

raphw commented Apr 21, 2026

Copy link
Copy Markdown
Member

This seems invalid.

@UtkarshSinghChauhan

Copy link
Copy Markdown
Author

@raphw can you explain a little how its invalid?

@raphw

raphw commented Apr 22, 2026 via email

Copy link
Copy Markdown
Member

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.

Failing while building mockito-inline version 4.6.1 using ./gradlew build (org.mockito:mockito-inline:4.6.1)

2 participants