3 ms·
It has nothing to do with whether String is correct It has everything to do with it. You have to explain how you ended up with a broken instance of String. The
by pvg 9y ago
It has nothing to do with whether String is correct
It has everything to do with it. You have to explain how you ended up with a broken instance of String. The internal state of a String instance is hosed, which is a massive violation of all sorts of JVM guarantees and assumptions - this is the OG immutable class, after all. There are two options - a broken String implementation or a broken JVM implementation.