Primitive parameters must follow references

Chanwit Kaewkasi chanwit at gmail.com
Fri Jul 30 06:43:22 PDT 2010


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
-- 
Dr Chanwit Kaewkasi, Lecturer
School of Computer Engineering,
Suranaree University of Technology
Nakhon Ratchasima, Thailand 30000


More information about the mlvm-dev mailing list