Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support marshalling of Java 14 records #733

Open
alamar opened this issue Oct 9, 2023 · 2 comments
Open

Support marshalling of Java 14 records #733

alamar opened this issue Oct 9, 2023 · 2 comments
Assignees
Labels

Comments

@alamar
Copy link
Contributor

alamar commented Oct 9, 2023

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

@StevenCurran
Copy link

+1 this would be very useful!

@yevgenp yevgenp self-assigned this Jan 18, 2024
@peter-lawrey
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants