I'm new to MLVM and trying to build it so I can play around with it.
It appears that the current patches were built and intended for
OpenJDK b34 (based on one failing and the tags in the series file
indicating b34). I've tried several things and can't seem to find the
right combination to make it
I'm new to MLVM and trying to build it so I can play around with it.
It appears that the current patches were built and intended for
OpenJDK b34 (based on one failing and the tags in the series file
indicating b34). I've tried several things and can't seem to find the
right combination to make it
After several reading, I'm sorry but i'am not able to fully understand
how to forge the 'arguments' :)
It's perhaps beacuse it's currently late in the evening in Paris but
i think the idea to use a method handle to convert arguments (all or some)
(as we discuss with blackdrag during the summit) is
On Oct 1, 2008, at 4:41 PM, Rémi Forax wrote:
I drop an argument but in term of signature, i add a new parameter
type.
The joys of contravariance. The MHs API takes a certain directional
point of view which could be consistently reversed, but I think
either choice would have led to confu
John Rose a écrit :
> On Oct 1, 2008, at 4:06 PM, Rémi Forax wrote:
>
>
>> why MethodHandles.dropArgument() takes an argument valueType ?
>>
>
> If mh2 = dropArgument(mh, 0), then mh2.invoke(x, abc...) == mh.invoke
> (abc...).
> If mh.type is R(ABC...), then mh2.type is R(X, ABC...).
> The
On Oct 1, 2008, at 4:06 PM, Rémi Forax wrote:
> why MethodHandles.dropArgument() takes an argument valueType ?
If mh2 = dropArgument(mh, 0), then mh2.invoke(x, abc...) == mh.invoke
(abc...).
If mh.type is R(ABC...), then mh2.type is R(X, ABC...).
The type X needs to be supplied explicitly when m
A stupid question,
why MethodHandles.dropArgument() takes an argument valueType ?
What is the relation between valueType and mh.type().parameterType(pos) ?
regards,
Rémi
___
mlvm-dev mailing list
[email protected]
http://mail.openjdk.java.net
Jochen Theodorou a écrit :
> Frank Wierzbicki schrieb:
>
>> On Sat, Sep 13, 2008 at 12:49 AM, Charles Oliver Nutter
>> <[EMAIL PROTECTED]> wrote:
>>
>>> // MyCode.java
>>> import static DynamicUtil.Dynamic
>>> public class MyCode {
>>> public void doSomething() {
>>> String a = "foo";
Frank Wierzbicki schrieb:
> On Sat, Sep 13, 2008 at 12:49 AM, Charles Oliver Nutter
> <[EMAIL PROTECTED]> wrote:
>> // MyCode.java
>> import static DynamicUtil.Dynamic
>> public class MyCode {
>> public void doSomething() {
>> String a = "foo";
>> Dynamic(a).someOtherMethod();
>> }
>> }
On Sat, Sep 13, 2008 at 12:49 AM, Charles Oliver Nutter
<[EMAIL PROTECTED]> wrote:
> // MyCode.java
> import static DynamicUtil.Dynamic
> public class MyCode {
> public void doSomething() {
> String a = "foo";
> Dynamic(a).someOtherMethod();
> }
> }
That looks very convenient indeed.
T
10 matches
Mail list logo