hg: mlvm/mlvm/hotspot: indy.compiler: A couple more CP fixes, to make tests work in -Xcomp mode.
John Rose
John.Rose at Sun.COM
Wed Jul 8 09:31:33 PDT 2009
On Jul 8, 2009, at 9:05 AM, Christian Thalinger wrote:
>> # Error: assert(mt == t->xmeet(this),"meet not commutative")
>>
>> It's not related to MethodHandles as it happens too early.
>
> I just verified that the bug is in nonperm.patch (or at least it
> produces the bug).
It's probably simple to fix, but let's not explore that bug-tail.
For now, you could try changing this in parse3.cpp:
- oop_constant->has_encoding()
+ oop_constant->has_encoding() && oop_constant->is_perm()
That will revert the treatment of static finals to accept only perm-
gen objects, but you can still use your own non-perm constants.
-- John
More information about the mlvm-dev
mailing list