NPE when checking partially typed import statement

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      If a javav fiel is created under jtreg source root and the file contains a partially typed import statement like this:

      import

      class Foo { }

      The jtreg plugin will crash - attempting to see whether the import statement points to testng. The check should be made more robust in this situation.

            Assignee:
            Maurizio Cimadamore
            Reporter:
            Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: