setDefaultInvocationHandler
public static void setDefaultInvocationHandler(Proxy proxyInstance)
Set a default invocation handler for a ReflectionProxy proxy instance. At runtime the "h"
field is not used as the methods (invoke, toString, hashCode, equals) that would use the
handler are substituted (see ReflectionSubstitutionType). However the handler is needed when
the proxy instance is used during image building, e.g., toString() is called on it for error
reporting (see NativeImageHeap.addObjectToBootImageHeap()).