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

Builds fail with new warnings after JDK-8256254

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b27

      Description

      x86_32:

      /home/shade/trunks/jdk/src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp: In function 'void gen_special_dispatch(MacroAssembler*, const methodHandle&, const BasicType*, const VMRegPair*)':
      /home/shade/trunks/jdk/src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp:1291:11: error: format '%d' expects argument of type 'int', but argument 4 has type 'vmIntrinsics::ID' {aka 'vmIntrinsicID'} [-Werror=format=]
       1291 | fatal("unexpected intrinsic id %d", iid);
            | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~
            | |
            | vmIntrinsics::ID {aka vmIntrinsicID}
         ... (rest of output omitted)

      s390x:

      /home/shade/trunks/jdk/src/hotspot/cpu/s390/sharedRuntime_s390.cpp: In function 'void gen_special_dispatch(MacroAssembler*, int, vmIntrinsics::ID, const BasicType*, const VMRegPair*)':
      /home/shade/trunks/jdk/src/hotspot/cpu/s390/sharedRuntime_s390.cpp:923:15: error: format '%d' expects argument of type 'int', but argument 5 has type 'vmIntrinsics::ID' {aka 'vmIntrinsicID'} [-Werror=format=]
        923 | "special_dispatch=%d", special_dispatch);
            | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
            | |
         ... (rest of output omitted)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: