<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 21, 2015 at 5:18 PM, Greg Ewing <span dir="ltr"><<a href="mailto:greg.ewing@canterbury.ac.nz" target="_blank">greg.ewing@canterbury.ac.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Alexander Belopolsky wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Why can't we make interned strings a subclass of strings like bool is a subclass of int?<br>
</blockquote>
<br></span>
Because a string can change from being non-interned to<br>
being interned at some point in its life.</blockquote><div><br></div><div>I did not know that.  Can you show the code that would cause such a change?</div><div> </div></div></div></div>