The tracking issue for the Java side PR.
See hazelcast/hazelcast#23522 for details.
Right now, GenericRecordBuilder.setGenericRecord does not throw if the value is not of the same type of generic record. (compact for compact, portable for portable)
We instead throw a cast exception while trying to do toData. We should do it during the setter.
Breaking changes (list specific methods/types/messages):
- If some users were misusing the API, they may be affected
Checklist:
I don't think we need backports for this change.
The tracking issue for the Java side PR.
See hazelcast/hazelcast#23522 for details.
Right now, GenericRecordBuilder.setGenericRecord does not throw if the value is not of the same type of generic record. (compact for compact, portable for portable)
We instead throw a cast exception while trying to do toData. We should do it during the setter.
Breaking changes (list specific methods/types/messages):
Checklist:
Team:,Type:,Source:,Module:) and Milestone setAdd to Release NotesorNot Release Notes contentset@Nonnull/@Nullableannotations@sincetags in JavadocI don't think we need backports for this change.