You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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')
The text was updated successfully, but these errors were encountered:
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')
The text was updated successfully, but these errors were encountered: