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

Prevent trait proxies from being traited

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 5.5.1.Final, 6.0.0.CR2
    • 5.5.0.Final, 6.0.0.CR1
    • None
    • None

    Description

      Lack of type safety may lead to trait proxies being traited, rather than the wrapped, core objects:

      Object t1 = don( k, X.class )
      Object t2 = don( t1, Y.class ) <-- should trait k, not t1!
      ...

      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: