John Rose a écrit :
> On Oct 29, 2008, at 1:07 PM, Rémi Forax wrote:
>
>> MethodHandle findVirtual(Object target, String name, MethodType
>> type)
>> This trick should avoid to create a MethodType with temporary type.
>>
>
> That's very good. I like it partly because it guides implem
On Oct 29, 2008, at 1:07 PM, Rémi Forax wrote:
> MethodHandle findVirtual(Object target, String name, MethodType
> type)
> This trick should avoid to create a MethodType with temporary type.
That's very good. I like it partly because it guides implementors
toward the main use cases.
One
John Rose a écrit :
> On Oct 29, 2008, at 8:32 AM, Rémi Forax wrote:
>
>
>> In order to allow to use == between method types,
>> MethodType must used a cache to intern MethodType.
>>
>
> Yes, they are like interned strings. At least on some internal token
> like a MethodType, we have to
On Oct 29, 2008, at 8:32 AM, Rémi Forax wrote:
> In order to allow to use == between method types,
> MethodType must used a cache to intern MethodType.
Yes, they are like interned strings. At least on some internal token
like a MethodType, we have to support == comparison. Otherwise the
sig