Strings in switch
Ulf.Zibis at gmx.de
Mon Mar 30 11:52:49 PDT 2009
I refer to your proposal:
If your proposal would unchanged be taken into JDK 7, there won't be any compatible way to implement my more general proposal "Extend switch .. case statement for Object types and simple expressions" in future version of JDK !!!
--> So switch .. case statement should compare for IDENTITY if not syntactically determined otherwise.
--> compare for EQUALITY would also break semantic of existing switch .. case statement.
More information about the coin-dev