Chronicle-Wire icon indicating copy to clipboard operation
Chronicle-Wire copied to clipboard

Support marshalling of Java 14 records

Open alamar opened this issue 2 years ago • 2 comments

Right now, attempting do to so results in

UnsupportedOperationException: can't get field offset on a record class: private final xxx..dto.Pathway xxx.dto.ClientIdentifierDto.pathway

alamar avatar Oct 09 '23 11:10 alamar

+1 this would be very useful!

StevenCurran avatar Oct 11 '23 20:10 StevenCurran

In the short term we should produce a meaningful error message until this is properly supported.

  • we should explore how this can be supported.
  • whether object reuse is possible or desirable to reduce object allocations.

peter-lawrey avatar Jan 18 '24 13:01 peter-lawrey