Uploaded image for project: 'SonarJava'
  1. SonarJava
  2. SONARJAVA-679

On demand import should not create a symbol on SonarQube

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.5
    • Component/s: Plugin
    • Labels:
      None

      Description

      import java.io.*
      
      class A {
      File file;
      }
      

      A symbol will be created for the * token, with a wrong offset resulting in an error on SQ side.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              benzonico OLD - Nicolas Peru
              Reporter:
              benzonico OLD - Nicolas Peru
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: