Patch constructors, in general, don't check the visibility of Hook method to be called. If hook method is private the instrumented class can't call it. This will throw java.lang.IllegalAccessError.
Log in to post a comment.