- 
    Enhancement 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    5.0
- 
        b56
- 
        generic
- 
        solaris_8
                    The code generated by javac for a switch statement on an enum type should
generate a switch instruction, not a chain of if-then-else statements.
            
generate a switch instruction, not a chain of if-then-else statements.
- duplicates
- 
                    JDK-4881294 switch on enum should use switch instructions -           
- Closed
 
-         
- relates to
- 
                    JDK-8355987 Investigate Enum translation improvements -           
- Open
 
-