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

Missing return statement in __sync_val_compare_and_swap_8

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b75
    • Introduced In Version:
    • Resolved In Build:
      b21
    • CPU:
      other
    • OS:
      linux

      Backports

        Description

        /builddir/build/BUILD/java-1.7.0-openjdk-1.7.0.171-2.6.13.1.el7.s390/openjdk/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp: In function 'long long unsigned int __sync_val_compare_and_swap_8(volatile void*, long long unsigned int, long long unsigned int)':
        /builddir/build/BUILD/java-1.7.0-openjdk-1.7.0.171-2.6.13.1.el7.s390/openjdk/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp:547:3: error: no return statement in function returning non-void [-Werror=return-type]
           }
           ^
        cc1plus: all warnings being treated as errors

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                shade Aleksey Shipilev
                Reporter:
                andrew Andrew Hughes
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: