-
Bug
-
Resolution: Fixed
-
P4
-
8, 11, 15, 16
-
b20
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8254746 | 15.0.2 | Aleksey Shipilev | P4 | Resolved | Fixed | b03 |
JDK-8256033 | 11.0.10 | Aleksey Shipilev | P4 | Resolved | Fixed | b02 |
JDK-8255386 | openjdk8u282 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
src/hotspot/os_cpu/linux_zero/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):
src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp:499:3: warning: no return statement in function returning non-void [-Wreturn-type]
}
There is ShouldNotCallThis(), but no return.
This readily reproduces in 11u. It does not seem to reproduce in HEAD, but it is a bug nevertheless.
src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp:499:3: warning: no return statement in function returning non-void [-Wreturn-type]
}
There is ShouldNotCallThis(), but no return.
This readily reproduces in 11u. It does not seem to reproduce in HEAD, but it is a bug nevertheless.
- backported by
-
JDK-8254746 Non-x86 Zero builds fail with return-type warning in os_linux_zero.cpp
- Resolved
-
JDK-8255386 Non-x86 Zero builds fail with return-type warning in os_linux_zero.cpp
- Resolved
-
JDK-8256033 Non-x86 Zero builds fail with return-type warning in os_linux_zero.cpp
- Resolved
- relates to
-
JDK-8197981 Missing return statement in __sync_val_compare_and_swap_8
- Resolved
(1 links to)