You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mark Proctor (JIRA)" <ji...@apache.org> on 2008/02/01 06:01:21 UTC
[jira] Created: (JCI-56) Incore Store read in EclipseJavaCompiler
Incore Store read in EclipseJavaCompiler
----------------------------------------
Key: JCI-56
URL: https://issues.apache.org/jira/browse/JCI-56
Project: Commons JCI
Issue Type: Bug
Components: compiler eclipse
Reporter: Mark Proctor
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);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.