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

TreeScanner.visitImport returns null, not result of nested scan

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • 6
    • tools
    • None
    • b91
    • generic
    • generic
    • Verified

      In TreeScanner, almost all visitXYZ methods that scan a single enclosed node return the result of that scan. The exception is visitImport which always returns null.

      This is inconsistent.
      Also visitTypeParameter

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: