Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-1336

Typo in RuleBaseConfiguration(ClassLoader classLoder, Properties properties) -- the ClassLoader specified in the constructor args is not used

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.0.4, 5.0.0.M1
    • 4.0.3
    • None
    • None

    Description

      The RuleBaseConfiguration constructor:

          public RuleBaseConfiguration(ClassLoader classLoder,
                                       Properties properties) {
              init( classLoader,
                    properties );
          }
      

      contains a typo--the call to init should pass the (mis-spelled) classLoder, not the member field classLoader. As it is, the null member field is passed instead, resulting in the given ClassLoader instance being unused. Trivial fix: Just correct the spelling of the constructor arg name:

          public RuleBaseConfiguration(ClassLoader classLoader,
                                       Properties properties) {
              init( classLoader,
                    properties );
          }
      

      Attachments

        Activity

          People

            etirelli@redhat.com Edson Tirelli
            jwsparrowubs James Sparrow (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty