chargebee / chargebee-java

Java library for the Chargebee API.

Home Page:https://apidocs.chargebee.com/docs/api?lang=java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

please don't use reflection in ClazzUtil

SingingBush opened this issue · comments

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.