List of removed/internalized classes for Java 9

Andrew Guibert aguibert at us.ibm.com
Tue Oct 18 14:52:54 UTC 2016


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


More information about the jigsaw-dev mailing list