I have some problem with the yguard library when i make an obfuscated jar.
Yguard remove default contructor type like this (no parameters, no visibility) :
Test(){
}
Do you know why it remove this type of constructor ?
And do you have a solution to this problem ?
Thank you,
Best regards,
I believe yGuard removes such constructors because of shrink task. Just exclude your class from shrinking like this (taken from this answer by predi):
Or use techniques described in troubleshooting section of yGuard documentation (http://www.yworks.com/products/yguard/yguard_ant_howto.html#hints).