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

UseAppCDS obsolete message is confusing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 11
    • hotspot
    • b18
    • generic
    • generic

        When the UseAppCDS command-line option was obsoleted, using the standard appropriate obsolete message, the standard message is confusing to anyone who is currently using UseAppCDS:

        Sample:
        java -XX:+UseAppCDS -Xshare:off XX:DumpLoadedClassList=zprint.filter.classlist -cp "$filter_path" zprint.main < helloworld.clj > /dev/null

        OpenJDK 64-Bit Server VM warning: Ignoring option UseAppCDS; support was removed in 11.0

        Between Matthew Gilliard's blog and other sources, UseAppCDS is currently in use by customers (e.g. the clojure community).

        It would be helpful to add a message which informs users that -XShare:{on, auto,off) replaces this. Perhaps the alias mechanism could be used for this?

              ccheung Calvin Cheung
              acorn Karen Kinnear (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: