Skip to content

Commit 444e7ee

Browse files
committed
Enable test for primitive array to Object[] conversion in SpEL
See gh-33212
1 parent cb6a5ba commit 444e7ee

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spring-expression/src/test/java/org/springframework/expression/spel/VariableAndFunctionTests.java

-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@ void functionFromMethodWithVarargsAndPrimitiveArrayToObjectArrayConversion() {
206206
evaluate("#varargsObjectFunction(new int[]{1, 2, 3})", "[1, 2, 3]", String.class); // int[] to Object[]
207207
}
208208

209-
@Disabled("Primitive array to Object[] conversion is not currently supported")
210209
@Test
211210
void functionFromMethodHandleWithVarargsAndPrimitiveArrayToObjectArrayConversion() {
212211
evaluate("#message('x -> %s %s %s', new short[]{1, 2, 3})", "x -> 1 2 3", String.class); // short[] to Object[]

0 commit comments

Comments
 (0)