Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
A while back the store was changed to store the resource name instead of the class name - i.e. org.drools.Test is now stored as org/drools/Test.class. In EclipseJavaCompiler you are reading via a classname, rather than the converted resourceName:
final String resourceName = ClassUtils.convertClassToResourcePath(pClazzName); final byte[] clazzBytes = pStore.read(pClazzName); if (clazzBytes != null) {
I believe that should be:
pStore.read(resourceName);