I know that in case of String class, you must normally use .equals() where comparing two strings, like:
String s1 = "123";
String s2 = "123";
String s3 = "1234";
s1.equals(s2); // true
s1.equals(s3); // false
but, i've tried today this code:
s1 == s2; // true, but different references so had to return false
s1 == s3; // false
so, is something changed in java? does now string use standard comparable implementation when using == ?