gudzpoz opened a new pull request, #2680:
URL: https://github.com/apache/fory/pull/2680

   ## Why?
   
   Custom serializers are not retained during GraalVM native image builds.
   
   ## What does this PR do?
   
   The original code checks against `initialClassInfos` and removes serializers 
outside the set during native image builds. This PR removes that as well as 
`initialClassInfos`.
   
   I don't know what `initialClassInfos` is for, because it is only involved in 
clearing serializers, which this PR is to remove.
   
   Also, since the tests before weren't retaining some serializers, it turns 
out the original `native-image.properties` might be incomplete. And I added 
more classes to `--initialize-at-build-time` as is hinted by the `native-image` 
command.
   
   ## Related issues
   
   - Fixes #2669 
   


-- 
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