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

32-bit build failures after JDK-8303422

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 21
    • hotspot
    • b19

      Reproduces in GHA:

      /home/runner/work/jdk/jdk/src/hotspot/share/cds/filemap.cpp: In member function 'void FileMapInfo::seek_to_position(size_t)':
      /home/runner/work/jdk/jdk/src/hotspot/share/cds/filemap.cpp:1429:50: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Werror=format=]
       1429 | log_error(cds)("Unable to seek to position %ld", pos);
            | ~~^ ~~~
            | | |
            | | size_t {aka unsigned int}
            | long int
            | %d
      cc1plus: all warnings being treated as errors

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: