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

Proxy.getInvocationHandler throws NullPointerException instead of IllegalArgumentException for null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 24
    • core-libs

      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.

            Unassigned Unassigned
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: