The setArrayElement(...) method in SpEL's Indexer incorrectly requests conversion to wrappers instead of primitives when setting an element in a primitive array.

See the associated disabled test:

https://github.com/spring-projects/spring-framework/blob/2e56361fe4cb93cb8c16deabe3bde82a2ba9991c/spring-expression/src/test/java/org/springframework/expression/spel/SetValueTests.java#L167-L182