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

    • b15

      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());

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

              Created:
              Updated:
              Resolved: