util: In MemoryContentCache, cast to Long when reading the ArrayList (for compatibility with older Java compilers).