AbstractProcessor.init(null) doesn't trow NPE

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P3
    • None
    • Affects Version/s: 6
    • Component/s: core-libs

      AbstractProcessor.init() doesn't specify any behavior if parameter penv is equal to null.
      Parameters:
          penv - environment to access facilities the tool framework provides to the processor

      Hence, it should obey the following spec:
      Unless otherwise specified, methods in this package should be expected to throw a NullPointerException if given a null argument.

      However NPE is not thrown if penv is equal to null.

            Assignee:
            Joe Darcy
            Reporter:
            Yury Danilevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: