Not currently possible to use a Java 5-style for loop on an ArrayList (for example) from within CPS-transformed code, since its Iterator implementation is not marked Serializable.
Originally reported by
jglick, imported from: Unserializable iterator & entry classes from Java Collections
- assignee:
jglick
- status: Resolved
- priority: Major
- component(s): workflow-cps-plugin
- label(s): groovy, serialization
- resolution: Fixed
- resolved: 2017-08-21T14:55:09+00:00
- votes: 38
- watchers: 59
- imported: 2025-12-07
Raw content of original issue
Not currently possible to use a Java 5-style for loop on an ArrayList (for example) from within CPS-transformed code, since its Iterator implementation is not marked Serializable.