On Jul 14, 2012 12:35 AM, "John Rose" <john.r.r...@oracle.com> wrote:
>
> On Jul 13, 2012, at 4:04 PM, Charles Oliver Nutter wrote:
>> I have run into my first obvious behavioral difference between the new
>> and old code: the "name" argument (2nd arg) to bootstrap methods was
>> interned under the old backend, but is not in the new backend. I don't
>> know if there's anything in the spec to indicate it should be
>> interned, but I figured I'd bring it up. It was the source of many
>> test failures in JRuby because we had a key BSM that expected interned
>> Strings.
>
>
> Oops, I'll intern the strings.  I see no reason not to.  It is slightly
surprising when strings which originate in the constant pool are *not*
interned.

Yeah, that's where my expectation came from. Granted, the name alone is not
found in the constant pool, but it still seemed like it should be interned.

- Charlie (mobile)
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to