Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

What to do with Class.forName(), Class.getName() when Obfuscating

843811Dec 22 2002 — edited Jan 3 2003
hi,
I have been asked at my company to perform Obfuscation of our project-code, The problem I have been facing is,
We have got too many Class.forName(), Class.getName() calls in our Project-code, which is really hindering the process of Obfuscating all the Classes (refrences in code may break for all these classes which are dynamically being asked for, hence the project may suffer). And it is a pain-in-neck to really resolve which classes to exclude so that code should not break after obfuscation.
What my question is:
Do we have some automated tool to take care of all these Reflection API calls, so that work left to us is minimal?
If not, Do we have some short-cut (program, tool etc.) to identify all the classes which should be excluded?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 31 2003
Added on Dec 22 2002
1 comment
189 views