RFR: 8254144: Non-x86 Zero builds fail with return-type warning in os_linux_zero.cpp

Aleksey Shipilev shade at openjdk.java.net
Wed Oct 7 11:27:14 UTC 2020


Pretty trivial: missing `return` statement for non-void returning function. GCC complains about it in 11u, but not in
HEAD. Still, I believe we should fix it everywhere.

Testing:
 - [x] Linux Zero arm32 build, HEAD
 - [x] Linux Zero arm32 build, 11u

-------------

Commit messages:
 - 8254144: Non-x86 Zero builds fail with return-type warning in os_linux_zero.cpp

Changes: https://git.openjdk.java.net/jdk/pull/539/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=539&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8254144
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/539.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/539/head:pull/539

PR: https://git.openjdk.java.net/jdk/pull/539


More information about the hotspot-runtime-dev mailing list