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

[Ruleset] javax-to-jakarta-servlet-00040 false positive cases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • MTA 7.1.0
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem:

      RuleID: javax-to-jakarta-servlet-00040

      Method getServlet in javax.servlet.ServletContext has been removed. 

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

      mta-operator-bundle-container-7.1.0-24

      How reproducible:

      100%

      Steps to Reproduce:

      1. Start analysis using uploaded binary file: acmeair-webapp-1.0-SNAPSHOT.war
      2. Set targets: Jakarta EE 9
      3. Submit analysis

      Actual results:

      False positive examples:

      String path = request.getServletPath() + request.getPathInfo(); 

      Attachments:

      analysis-report-app-upgrade-uploadBinaryApp.yaml

      Additional info:

      Same behavior is reproducible with RuleID: javax-to-jakarta-servlet-00070
       

              rhn-engineering-dymurray Dylan Murray
              mguetta1 Maayan Hadasi
              Maayan Hadasi Maayan Hadasi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: