CONSTANT_Class_info and L-envelopes

John Rose john.r.rose at oracle.com
Sun May 10 01:00:43 UTC 2020


On May 8, 2020, at 6:15 AM, Frederic Parain <frederic.parain at oracle.com> wrote:
> 
> The problem with having two entries representing
> a symbolic reference to the same class is that there’s no guarantee
> that the resolution of these two entries will produce the same result.

This problem has existed in class files from day one,
since there is no rule of any sort which would exclude
duplicate CP entries.  I don’t see why we need to exclude
this extra kind of duplication, and the code for checking
it will distract us from other things.

— John


More information about the valhalla-dev mailing list