yasson icon indicating copy to clipboard operation
yasson copied to clipboard

StackOverflowError when deserializing an interface bounded to a dynamically Deserializer

Open davidobber opened this issue 2 years ago • 1 comments
trafficstars

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

  • OS: Windows
  • Java Version: 11
  • Yasson Version: 3.0.x (it happens even with 2.0.x)

deserializer.zip

davidobber avatar Aug 30 '23 13:08 davidobber

probably related to the #594.

redmitry avatar Sep 12 '23 15:09 redmitry