Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-3317

Wildcard (*) imports prevent Rules to be fired when they should

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.3.0.Final
    • None
    • None
    • None
    • Sprint 217 AMM
    • None

      This bug was discovered at https://github.com/windup/windup-rulesets/pull/640#pullrequestreview-920239428

      If packages are imported using a wildcard. E.g. 

      import sun.misc.*; 

      Then the Rules that point to "method" usages are not fired

        1. Screenshot from 2022-04-12 12-00-08.png
          201 kB
          Shveta Sachdeva
        2. Screenshot from 2022-04-12 12-00-23.png
          201 kB
          Shveta Sachdeva

              mrizzi@redhat.com Marco Rizzi
              cferiavi Carlos Esteban Feria Vila
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: