java - CgLib Enhancer private Constructor -


i'm trying create proxy cglib class has private constructor. can't change visibility, it's library method.

i found this post, , followed instrcutions override filterconstructors method, when cglib tries call java.lang.illegalaccesserror.

can bypass limitation somehow?

cglib works subclassing. cglib class can therefore never access constructor of proxied class.

what can tryto redefine existing class. this, can use library such byte buddy.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -