Skip to content

Commit

Permalink
Load Multipart class in correct CL
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas committed Jul 28, 2021
1 parent b4b1105 commit c09a500
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ protected void handleMultipart(ClassInfo multipartClassInfo) {
}
reflectiveClassProducer.produce(new ReflectiveClassBuildItem(false, false, className));
String populatorClassName = MultipartPopulatorGenerator.generate(multipartClassInfo,
new GeneratedClassGizmoAdaptor(generatedClassBuildItemBuildProducer, true), index);
new GeneratedClassGizmoAdaptor(generatedClassBuildItemBuildProducer, applicationClassPredicate.test(className)),
index);
multipartGeneratedPopulators.put(className, populatorClassName);

// transform the multipart pojo (and any super-classes) so we can access its fields no matter what
Expand Down

0 comments on commit c09a500

Please sign in to comment.