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

FromNodes are not correctly shared in executable model

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • None
    • None
    • 2020 Week 52-03 (from Dec 21)
    • Undefined
    • NEW
    • NEW
    • ---
    • ---

    Description

      Utility class FunctionUtils generates generic FunctionN starting from functions with fixed arity, but doing so the fingerprint of the original function gets lost, thus preventing correct comparison of lambdas and sharing of nodes containing them. The effect of this is visible for instance in FromTest.testFromSharingWithAccumulate since when running it with executable model there is no node sharing as expected (modify the test to check for actual node sharing and make it fail otherwise).

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            mfusco@redhat.com Mario Fusco
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: