Build failures after JDK-8207812 (Implement Dynamic CDS Archive)

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P1
    • 13
    • Affects Version/s: 13
    • Component/s: hotspot
    • b22

      x86_32:

      /home/shade/trunks/jdk-jdk/src/hotspot/share/memory/dynamicArchive.cpp: In member function 'void DynamicArchiveBuilder::verify_estimate_size(size_t, const char*)':
      /home/shade/trunks/jdk-jdk/src/hotspot/share/memory/dynamicArchive.cpp:514:95: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka unsigned int}' [-Werror=format=]
           log_info(cds)("%s estimate = %lu used = %lu; diff = %d bytes", which, estimate, used, diff);
                                                                                                     ^

            Assignee:
            Aleksey Shipilev
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: