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

Proxy.getInvocationHandler throws NullPointerException instead of IllegalArgumentException for null

XMLWordPrintable

      Proxy.getInvocationHandler throws an NPE instead of the documented IAE when null is passed as the argument. Since this has been the long-standing behavior, we most likely will update the specification to match the actual behavior.

            syan Sendao Yan
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: