-
-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
Description
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')