PATCH RFA: Change -Wswitch behaviour when there is a default case

Mark Mitchell
Mon Jun 8 03:31:00 GMT 2009

Ian Lance Taylor wrote:

> -Wswitch issues two warnings about switches on values of enum type.
> First, it warns if the switch omits any value of the enum type.  Second,
> it warns if the switch includes any value which is not of the enum type.

This patch is OK.

Mark Mitchell
(650) 331-3385 x713

More information about the Java-patches mailing list