Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-6195

ANNOTATION location rules don't match on Fully Qualified Names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • MTA 8.0.1
    • MTA 8.0.0
    • Application Analysis
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • Yes
    • Critical
    • None

      Description of problem:

      The ANNOTATION location is not strictly using FQNs to match with annotation, which leads to incorrect matches and false positives on issues.

      For example, a rule that looks for the javax.enterprise.inject.Produces will incorrectly match with occurrences of javax.ws.rs.Produces.

      See other examples on attached screenshots.

       Version-Release number of selected component (if applicable):

      MTA 8.0.0

       How reproducible:

      Always

       Steps to Reproduce:

      Check the linked upstream issues for details.

      Additional info:

      Upstream related issues:

        1. Screenshot from 2025-09-25 12-41-03.png
          313 kB
          Ramon Roman Nissen
        2. Screenshot from 2025-09-25 12-41-37.png
          280 kB
          Ramon Roman Nissen
        3. Screenshot From 2025-11-03 13-49-48.png
          269 kB
          Shveta Sachdeva
        4. Screenshot From 2025-11-03 13-50-05.png
          273 kB
          Shveta Sachdeva
        5. Screenshot From 2025-11-03 13-47-43.png
          266 kB
          Shveta Sachdeva
        6. Screenshot From 2025-11-03 13-45-29.png
          459 kB
          Shveta Sachdeva
        7. Screenshot From 2025-11-03 13-47-12.png
          482 kB
          Shveta Sachdeva
        8. Screenshot From 2025-11-03 13-47-30.png
          532 kB
          Shveta Sachdeva

              jleflete@redhat.com Juanma Leflet Estrada
              rromanni@redhat.com Ramon Roman Nissen
              Shveta Sachdeva Shveta Sachdeva
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: