mandrean opened a new issue, #3337:
URL: https://github.com/apache/fory/issues/3337

   ### Search before asking
   
   - [x] I had searched in the [issues](https://github.com/apache/fory/issues) 
and found no similar issues.
   
   
   ### Version
   
   0.15.0
   
   ### Component(s)
   
   Java
   
   ### Minimal reproduce step
   
   ```java
   // 4-level HashMap subclass nesting
   public class RegionCode extends HashMap<String, String> {}
   public class LanguageData extends HashMap<String, RegionCode> {}
   public class LocaleMapping extends HashMap<String, LanguageData> {}
   public class LocalizationSettings extends HashMap<String, LocaleMapping> {}
   
   @Data
   public class ConfigDocument {
       private String id;
       private LocalizationSettings localizations;
   }
   
   // Serialize and deserialize
   Fury fury = Fury.builder()
       .withCodegen(false)
       .requireClassRegistration(false)
       .withLanguage(Language.JAVA)
       .build();
   
   ConfigDocument doc = new ConfigDocument("id-123", localizations);
   byte[] bytes = fury.serialize(doc);
   ConfigDocument result = fury.deserialize(bytes); // ❌ Fails with 
DeserializationException
   ```
   
   ### What did you expect to see?
   
   It to succeed deserializing even nested hash maps 
   
   ### What did you see instead?
   
   It fails with DeserializationException
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to