Skip to content

[JENKINS-27421] Unserializable iterator & entry classes from Java Collections #1127

@jenkins-infra-bot

Description

@jenkins-infra-bot

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions