dimanche 25 février 2018

Identify internal APIs used through reflection

I'm working on a legacy codebase, which was originally written in JDK 1.1.6. As a result there are a number of instances where internal JDK APIs are being used, especially in the RMI & Socket programming area.

I need to identify and create a list of these internal APIs used throughout my codebase.

I understand jdeps -jdkinternals can solve my purpose, and yes this command is helping me out to far an extent

Unfortunately, in places where the internal APIs are being used through reflection this approach isn't working for me.

Is there any (efficient) way other than the brute-force text search, that I can use in this scenario?





Aucun commentaire:

Enregistrer un commentaire