fjtirado commented on issue #1460:
URL: 
https://github.com/apache/incubator-kie-issues/issues/1460#issuecomment-2457196874

   > After first iteration, it turns out that the root cause of that 
"workaround" is the usage of reflection on generated classes to code-gen other 
classes (see 
[here](https://github.com/apache/incubator-kie-kogito-runtimes/blob/5ed0377c2cd0b857b0e14e60bdfdfdcdd316e615/jbpm/jbpm-flow-builder/src/main/java/org/jbpm/compiler/canonical/descriptors/ServiceTaskDescriptor.java#L99))
 So the proper fix is to completely remove the usage of reflections and, then 
the need of double compilation (and of that workaround as whole). Double check 
if also drools/rules is affected by that.
   > 
   > @elguardian
   
   If I recall correctly, this reflection is not performed over generated 
classes, but performed on user provided classes to generate the bridge to call 
them. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to