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

please don't use reflection in ClazzUtil #26

Open
SingingBush opened this issue Jun 9, 2022 · 0 comments
Open

please don't use reflection in ClazzUtil #26

SingingBush opened this issue Jun 9, 2022 · 0 comments

Comments

@SingingBush
Copy link

The com.chargebee.internal.ClazzUtil class uses reflection to pick which class to return. This causes problems when using Graalvm to get a native build. Please consider changing that code to use a switch statement on the model type instead so that it works when compiling to a native binary.

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