No functional change, puts back this comment after r1818495, it may helps
sometimes
@@ -177,6 +177,7 @@ public final class UtilMisc {
Object entryValue = mapEntry.getValue();
if (entryValue != null && !(entryValue instanceof Serializable)) {
keysToRemove.add(mapEntry.getKey());
+ Debug.logInfo("Found Map value that is not Serializable: " + mapEntry.getKey() + "=" + mapEntry.getValue(), module);
}
}
for (String keyToRemove: keysToRemove) { map.remove(keyToRemove); }
