Hi, recently I've come across the documentation of Proxy#getInvocationHandler(Object) and recognized that there's a missing throws declaration for a NullPointerException. The expression Proxy.getInvocationHandler(null) fails, because proxy.getClass() is called without asserting that proxy is not null.
I'd be happy to provide the JavaDoc update, if anyone would like to sponsor me the JBS issue for this one. Cheers Steffen