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

Builds fail with new warnings after JDK-8256254

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 16
    • 16
    • hotspot
    • None
    • b27

      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)

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

              Created:
              Updated:
              Resolved: