Incorrect log message in cds/filemap.cpp

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P5
    • None
    • Affects Version/s: 25
    • Component/s: 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.

            Assignee:
            Ioi Lam
            Reporter:
            Ashutosh Mehra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: