The docs say
The String in the switch expression is compared with the expressions associated
with each case label as if the String.equals method were being used.
Since it says as if my guess would be it does not though the internal implementation would be the same as .equals() method.