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

Thomas Schatzl thomas.schatzl at oracle.com
Wed Nov 5 16:05:59 UTC 2014


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