Skip to content

Commit

Permalink
Use specify classloader
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyesiqiu committed Jan 1, 2025
1 parent 2d15a20 commit 65ba7cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public Application instantiateApplication(@NonNull ClassLoader cl, @NonNull Stri
//AppComponentFactory no specified
if(!TextUtils.isEmpty(applicationName)) {
try {
Class.forName(applicationName);
Class.forName(applicationName, false, cl);
}
catch (ClassNotFoundException e) {
if(EnvUtils.getApplicationInfo() != null) {
Expand Down

0 comments on commit 65ba7cf

Please sign in to comment.