Fix array cast invalid for Java 9+ in TableStatisticsAbstractTest - Fixes
@@ -61,7 +61,7 @@ public abstract class TableStatisticsAbstractTest extends GridCommonAbstractTest
Collections.reverse(dirOrdTbls);
- String reversedOrder = replaceTablePlaceholders(sql, (String[]) dirOrdTbls.toArray());
+ String reversedOrder = replaceTablePlaceholders(sql, dirOrdTbls.toArray(new String[dirOrdTbls.size()]));
if (log.isDebugEnabled())
log.debug("Reversed join order=" + reversedOrder);
