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

Add descriptive error messages for removed non-product logging flags.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • b115

      Harold pointed out that removed logging flags (such as TraceClassInitialization) produce the following output now:

          Unrecognized VM option 'TraceClassInitialization'
          Error: Could not create the Java Virtual Machine.
          Error: A fatal exception has occurred. Program will exit.

      We should add the following helpful error message:

          -XX:+TraceClassInitialization has been replaced by -Xlog:classinit=info

            mockner Max Ockner (Inactive)
            mockner Max Ockner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: