Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to support native-image? #349

Open
imgoby opened this issue Feb 26, 2024 · 1 comment
Open

how to support native-image? #349

imgoby opened this issue Feb 26, 2024 · 1 comment

Comments

@imgoby
Copy link

imgoby commented Feb 26, 2024

Application integrates with native-image, while calling FSTConfiguration.asByteArray() method,thread is stoped.
how to resolve?

@imgoby
Copy link
Author

imgoby commented Feb 28, 2024

class file: FSTDefaultClassInstantiator
code:
ReflectionFactory.getReflectionFactory().newConstructorForSerialization(clazz, c);

resolve method
(1)https://www.graalvm.org/latest/reference-manual/native-image/metadata/#serialization
add serialization-config.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant