Testing out latest work

Charles Oliver Nutter headius at headius.com
Sat Jul 14 08:43:03 PDT 2012


On Jul 14, 2012 12:35 AM, "John Rose" <john.r.rose at 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20120714/684d1b4c/attachment.html 


More information about the mlvm-dev mailing list