Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-446

Literals may be ambiguously resolved as classes on case insensitive filesystems

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.1.0.Beta2
    • 5.5.0.Final, 5.6.0.Final, 6.0.0.Final, 6.0.1.Final
    • None
    • None

    Description

      When a candidate class literal is analyzed, e.g. :

      declare Foo
        f1 : Bar = new Bar()
        f2 : boolean = false 
      end
      

      "Bar" is tentatively resolved (twice) and its f.q.n. is substituted as needed.
      However, even "false" is tentatively resolved as well.

      On a case insensitive filesytems, the presence of a class named False will cause the literal to be resolved erroneously.
      The same will happen to "true" and "null"

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            dsotty Davide Sottara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: