eclipse-ee4j / yasson

Eclipse Yasson project
https://projects.eclipse.org/projects/ee4j.yasson
Other
201 stars 96 forks source link

StackOverflowError when deserializing an interface bounded to a dynamically Deserializer #612

Open davidobber opened 1 year ago

davidobber commented 1 year ago

Binding a deserializer to an interface with JsonbConfig.withDeserializers() leads to a StackOverflowError Exception. Doing the same using the annotation works. This worked in java 8 & yasson 1.0.6

To Reproduce: To Reproduce the bug, just run the Spock Spec included in the attached zip. One of the two test cases works, the other fails.

Expected behaviour: No exception is expected

deserializer.zip

redmitry commented 12 months ago

probably related to the #594.