RFR: 8062808: Turn on the -Wreturn-type warning

Stefan Karlsson stefan.karlsson at oracle.com
Wed Nov 5 20:12:43 UTC 2014


On 2014-11-05 17:05, 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.

StefanK
>
> Thanks,
>   Thomas
>



More information about the hotspot-dev mailing list