[JAVA-3456] ClassModel needs to be immutable Created: 08/Oct/19  Updated: 28/Oct/23  Resolved: 22/Oct/19

Status: Closed
Project: Java Driver
Component/s: POJO
Affects Version/s: None
Fix Version/s: 3.12.0

Type: Improvement Priority: Major - P3
Reporter: John Stewart (Inactive) Assignee: John Stewart (Inactive)
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by JAVA-3364 PojoCodecImpl specializedPojoCodec ra... Closed
is duplicated by JAVA-3376 NullPointerException: DecoderContext.... Closed

 Description   

In JAVA-3364 we find that the collection fields in `ClassModel` can be modified after construction. The getters for these collection fields do not provide defensive copies of the collections, which is required for `ClassModel` to be immutable.


Generated at Thu Feb 08 08:59:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.