We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c51a2b7 commit 803cd35Copy full SHA for 803cd35
test/lib/jdk/test/lib/format/ArrayCodec.java
@@ -154,7 +154,7 @@ public static ArrayCodec of(Object array) {
154
} else if (type == String.class) {
155
return ArrayCodec.of((String[])array);
156
} else if (!type.isPrimitive() && !type.isArray()) {
157
- return ArrayCodec.of((String[])array);
+ return ArrayCodec.of((Object[])array);
158
}
159
160
throw new IllegalArgumentException("Unsupported array component type: " + type);
0 commit comments