Skip to content

Fix bug causing ClassCastException when casting Integer,Short,... to Long object type#3

Merged
a2mo merged 1 commit intoTosan:mainfrom
robatipoor:main
Dec 24, 2025
Merged

Fix bug causing ClassCastException when casting Integer,Short,... to Long object type#3
a2mo merged 1 commit intoTosan:mainfrom
robatipoor:main

Conversation

@robatipoor
Copy link
Contributor

If we set a numeric type other than Long after calling incrementAndGetAtomicItem, we get a ClassCastException. This merge request fixes the issue.

@a2mo a2mo merged commit 5a30dd8 into Tosan:main Dec 24, 2025
1 check passed
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.

2 participants