RFR: 8062808: Turn on the -Wreturn-type warning
Coleen Phillimore
coleen.phillimore at oracle.com
Wed Nov 5 17:50:02 UTC 2014
This looks good to me also. I'm surprised there weren't more CHECK in
return statements and other changes needed.
Coleen
On 11/5/14, 11:05 AM, Thomas Schatzl wrote:
> Hi,
>
> On Wed, 2014-11-05 at 13:22 +0100, Stefan Karlsson wrote:
>> Hi all,
>>
>> I propose that we turn on the -Wreturn-type warning when compiling
>> HotSpot with GCC.
>>
>> This will help us catch missing return statements earlier in the
>> development cycle.
>>
>> http://cr.openjdk.java.net/~stefank/8062808/webrev.01/
>> https://bugs.openjdk.java.net/browse/JDK-8062808
> looks good to me.
>
> Thanks,
> Thomas
>
More information about the hotspot-dev
mailing list