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

FromNodes are not correctly shared in executable model

XMLWordPrintable

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

      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).

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

                Created:
                Updated:
                Resolved: