Hello -dev members,

I have been attempting to get a large codebase working with java 9, and
jdeps has been very helpful in finding references to removed/internalized
APIs.

However, jdeps does not catch soft references to removed/internalized APIs,
such as:

  Class.forName("sun.management.Agent");

I do not expect jdeps to be advanced enough to search for soft references
like this, but these are difficult to identify before the code path gets
hit at runtime.

So my question is:
Is there a list of removed/internalized classes for java 9 anywhere?  I
would like to use this list to grep my codebase for soft references.

If there was some sort of "-listjdkinternals" flag on jdeps, that would be
very helpful.

Thanks, Andy Guibert

Reply via email to