I’m troubleshooting some session swapping which I think is because of threads. Could using Java’s retainAll() and toList() methods cause thread problems, that is, are they thread safe?
<cfset local.productCategories.retainAll(local.posCategories) /> <cfset item.productCategoryIDs = local.productCategories.toList() />
OS: Ubuntu Linux, 64bit
Java Version: 1.8.0_152
Tomcat Version: 8.5.24
Lucee Version: 188.8.131.52