shuyangzhou/liferay-portal — comment on commit 2f7fcd675cccd2376e832efeee9a26f2b661d580
File:  line 0
By GavinWan:

this will fix LPS-23297.
But arrayable findBy method may also have this kind of problem.

eg:
finderPath = FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F;
finderArgs = new Object[] {
groupId, StringUtil.merge(folderIds),

start, end, orderByComparator
};