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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 1.1
    • 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.

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

              Created:
              Updated:
              Imported:
              Indexed: