jakartaee / batch

The Jakarta Batch project produces the Batch Specification and API.
https://projects.eclipse.org/projects/ee4j.batch
Apache License 2.0
13 stars 17 forks source link

Clarify that setPersistentUserData passes by reference #129

Open follis opened 3 years ago

follis commented 3 years ago

When you set persistent user data, does it make a copy of your data or just grab a reference? So if you change the content of the Serializable object you pass does it change the persistent data (which only persists at a checkpoint)? When does it get serialized? Now or when it is actually persisted? The spec should say.