Skip to content

Fix type checking in ArrayUtils#395

Merged
mondain merged 1 commit intoRed5:mainfrom
kdkd:cherry-pick-fd367d4-20251126-124038
Nov 26, 2025
Merged

Fix type checking in ArrayUtils#395
mondain merged 1 commit intoRed5:mainfrom
kdkd:cherry-pick-fd367d4-20251126-124038

Conversation

@kdkd
Copy link
Copy Markdown

@kdkd kdkd commented Nov 26, 2025

Commit from kdkd fork fd367d4

io/utils/ArrayUtils:

getGenericType never maps double or char primitives to their wrappers
(checks Double.class/ Character.class instead of double.class/char.class),
so those primitives fall through and return the primitive type while other
primitives return wrappers.


getGenericType never maps double or char primitives to their wrappers
(checks Double.class/ Character.class instead of double.class/char.class),
so those primitives fall through and return the primitive type while other
primitives return wrappers.
@mondain mondain merged commit 70ae575 into Red5:main Nov 26, 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.

2 participants