Uploaded image for project: 'Commons JCI'
  1. Commons JCI
  2. JCI-56

Incorrect Store read in EclipseJavaCompiler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1
    • compiler eclipse
    • 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);

      Attachments

        Activity

          People

            tcurdt Torsten Curdt
            mproctor Mark Proctor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: