Would a sealed String with Latin1 and UTF16 subclasses make sense?
Ignoring backwards compatibility, could Java's String use a sealed class with separate Latin1 and UTF16 subclasses instead of a coder field? Would that improve the design or performance?