Hi,
Huisheng is right, current patch does not solve the issue completely. Thanks to his test case I was able to reproduce it. Somehow context class loader is not enough.
I tried to reuse DeploymentClassLoader capabilities to solve the issue and it seems to work fine. In fact that was my first way of fixing it but I changed it to using only context class loader according to jira issue comments.
So I have a nice patch to upload but I have issues regarding source code structure:
- test case with process definition is placed in jbpm-test-db module
- since test case must deploy process definition with a class that is not available on class path it needs to be somewhere else as compiled resource I have put it at the moment into new folder (ext-resources) inside module jbpm-test-db
Please let me know if that is the right way to do it.
Cheers,
Maciej