[8u] 8062808: Turn on the -Wreturn-type warning
Andrew John Hughes
gnu.andrew at redhat.com
Fri Aug 30 15:52:00 UTC 2019
On 28/08/2019 22:00, Liu, Xin wrote:
> I'd like to backport JDK-8062808. Enabling -Wreturn-type helps us to catch undefined code. Could you review it and update label in that issue?
> webrev: https://cr.openjdk.java.net/~xliu/8062808/webrev/
> It's almost a clean patch. One single difference is that original patch doesn't include perfData.hpp. It has been changed in JDK-8064811. When we backported JDK-8064811 to jdk8u, I think we drop it by mistake.
> I have verified it using the jdk8u repo. Both fastdebug and slowdebug work as expected.
I already have a backport of this, which I intend to post once
JDK-8141570 is in; see . Doing this beforehand will break the Zero build.
Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222
More information about the jdk8u-dev