adapter pushes too many parameters

Christian Thalinger Christian.Thalinger at Sun.COM
Wed Sep 16 03:13:10 PDT 2009


Hi!

I just wanted to write a testcase with an invokedynamic that takes 6
arguments, like:

  sum += InvokeDynamic.<int>unknown(i, i, i, i, i, i);

and I get:

  java.lang.IllegalArgumentException: bad adapter
(conversion=0xfffab300): adapter pushes too many parameters

Increasing the MethodHandlePushLimit results in:

  java.lang.InternalError: too many bound parameters

I'm not an expert but this should work, right?

-- Christian


More information about the mlvm-dev mailing list