chargebee-java icon indicating copy to clipboard operation
chargebee-java copied to clipboard

please don't use reflection in ClazzUtil

Open SingingBush opened this issue 2 years ago • 0 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.

SingingBush avatar Jun 09 '22 17:06 SingingBush