(reflect) Constructor.newInstance doesn't check enclosing object for null

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.1
    • Component/s: core-libs
    • Fix Understood
    • sparc
    • solaris_2.5.1

      Constructor.newInstance doesn't check the first parameter to see if it isn't null when used to construct an inner class, although the enclosing object should never *be* null. It is better to catch this on creation than on first use.

            Assignee:
            Unassigned
            Reporter:
            Kenneth Arnold (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: