Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8136423

JShell: rationalize TreeDependencyScanner

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9-repo-kulla
    • 9-repo-kulla
    • tools
    • None

      Per Maurizio review --

      * TreeDependencyScanner

          - not sure why Object is being used as a return type for the visitor methods; you could probably just use Void and then use scan() instead of scanAndReduce() [given there's nothing to reduce] ?

         - I'm not sure you need the scanDeclaration method - it is only used in Scan.processVariable - which runs it on a variable's type - but variable types are already scanned by TDS references with the right 'decl' set?

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: