JDK-8081589 : Output of -XX:+TraceClassLoadingPreorder in JDK9 incompatible with MakeClasslist tool
  • Type: Bug
  • Component: performance
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2015-06-01
  • Updated: 2015-09-10
  • Resolved: 2015-07-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b73Fixed
Related Reports
Relates :  
Description
The non-build tool MakeClasslist is broken for JDK9, since the tool relies on TraceClassLoadingPreorder outputting classes with the full path to the JAVA_HOME:

./make/non-build-utils/src/build/tools/makeclasslist/MakeClasslist.java

Since -XX:DumpLoadedClassList=<file> was added in JDK-8034900 the best alternative seem to be to update documentation to use this flag when collecting classlist and retire the MakeClasslist.java tool (perhaps along with the -XX:+TraceClassLoadingPreorder flag)