Skip to content

Commit

Permalink
Merge pull request quarkusio#43403 from geoand/quarkusio#38531
Browse files Browse the repository at this point in the history
Fix classloading in AzureFunctionsProcessor#findFunctions
  • Loading branch information
cescoffier authored Sep 23, 2024
2 parents 03b1469 + 4fdc574 commit ffd0c78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public void findFunctions(CombinedIndexBuildItem combined,
Class declaring = loader.loadClass(ci.name().toString());
Class[] params = methodInfo.parameters().stream().map(methodParameterInfo -> {
try {
return loader.loadClass(methodParameterInfo.type().name().toString());
return Class.forName(methodParameterInfo.type().name().toString(), false, loader);
} catch (ClassNotFoundException e) {
throw new DeploymentException(e);
}
Expand Down

0 comments on commit ffd0c78

Please sign in to comment.