AliRana30 commented on PR #838: URL: https://github.com/apache/wayang/pull/838#issuecomment-6400733097
@novatechflow Updated the PR and added the following : 1.Restricted `Number` to boxed primitives/math types and collections/maps to `java.util.*` implementations to prevent arbitrary subclasses from executing custom readObject() hooks. 2.Added explicit type support (`type` field, constructors, getters/setters, and `convertToObject` overload) to `WayangValue` for fresh instances and replaced silent `null` returns with `WayangException`. 3.Allowed `java.util.CollSer` to support Java 9+ `List.of()`, `Set.of()`, and `Map.of()`. 4.Added regression tests covering all three cases in `ObjectFileSerializationTest` and `WayangValueTest`. Verified on Java 17. -- 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]
