Enum translations can be improved, such as:
1. valueOf become a string switch
2. Use List.of for the backing table instead of an untrusted array
3. Use List.of instead of untrusted array for enum table lookup
1. valueOf become a string switch
2. Use List.of for the backing table instead of an untrusted array
3. Use List.of instead of untrusted array for enum table lookup
- relates to
-
JDK-4872657 enum: switch on enum should use switch instructions, not chained if stmts
-
- Resolved
-