Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8081589

Output of -XX:+TraceClassLoadingPreorder in JDK9 incompatible with MakeClasslist tool

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • performance
    • None
    • b73
    • generic
    • generic

        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)

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: