Skip to content

Java record support #78

@sergey-morenets

Description

@sergey-morenets

Hi

It seems that Java records are not supported. If I try to deserialize JSON string into Java record I get this error with JDK 17:

Exception in thread "main" java.lang.IllegalAccessError: class demo.ExampleRecordAccAccess tried to access protected method 'void java.lang.Record.<init>()' (demo.ExampleRecordAccAccess is in unnamed module of loader 'app'; java.lang.Record is in module java.base of loader 'bootstrap')

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions