Skip to content

Commit

Permalink
Fix classloading in AzureFunctionsProcessor#findFunctions
Browse files Browse the repository at this point in the history
Closes: #38531
  • Loading branch information
geoand committed Sep 20, 2024
1 parent 4aaeed0 commit 4fdc574
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 4fdc574

Please sign in to comment.