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

Incorrect log message in cds/filemap.cpp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 25
    • hotspot
    • 25

      When generating archive in the assembly phase of AOT workflow, incorrect log message is generated here:

      void FileMapInfo::open_as_output() {
        if (CDSConfig::new_aot_flags_used()) {
          if (CDSConfig::is_dumping_preimage_static_archive()) {
            log_info(aot)("Writing binary AOTConfiguration file: %s", _full_path);
          } else {
            log_info(aot)("Writing binary AOTConfiguration file: %s", _full_path);
          }
        ...
      }

      The log message in "else" block is incorrect. It is a copy of the "if" block so likely a copy-paste error.

            iklam Ioi Lam
            asmehra Ashutosh Mehra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: