Le 30/07/2010 15:43, Chanwit Kaewkasi a écrit :
> Hi John, Hi all,
>
> My implementation has encountered this line:
>
> sun.dyn.ToGeneric.<init>(ToGeneric.java:102)
> which is:
> if (true) throw new UnsupportedOperationException("NYI: primitive
> parameters must follow references; entryType = "+entryType);
>
>
> I have a simple constructor like this:
>
>      public Dummy(int i, Object o) {
>        super();
>        this.i = i;
>        this.o = o;
>      }
>
> and there is a constraint that I cannot change its parameter's order.
> It seems ToGeneric code requires reordering of the signature for
> caching, I guess.
>
> Is there any way to workaround this NYI at the moment?
>
> Regards,
>
> Chanwit
>    

This is a known Not Yet Implemented feature,
And as far as I know there is no workaround :(

BTW, there is another NIY hole, you can't have more than 10 parameters.

Rémi

_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to