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

use log_warning() and log_error() instead of tty->print_cr for CDS warning and error messages

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b15

      Description

      CDS code uses tty->print_cr() to output warning messages, they should be converted to using log_warning() instead.

      e.g.
      tty->print_cr("Preload Warning: Cannot find %s", parser.current_class_name());

      should be converted to:

      log_warning(cds)("Preload Warning: Cannot find %s", parser.current_class_name());

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ccheung Calvin Cheung
              Reporter:
              ccheung Calvin Cheung
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: