Skip to content

Commit

Permalink
Fix classloading in AzureFunctionsProcessor#findFunctions
Browse files Browse the repository at this point in the history
Closes: #38531
(cherry picked from commit 4fdc574)
  • Loading branch information
geoand authored and gsmet committed Sep 25, 2024
1 parent d4577d9 commit 1afb905
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 1afb905

Please sign in to comment.