I&#39;m trying to implement a simple method missing using invokeDynamic. I&#39;ve been able to make it work using static methods or static methods that proxy to virtual methods (but not directly to virtual methods). However, I&#39;m trying to add support for including the name of the method in the call to MethodMissing.<div>

<br></div><div>Based on the Fidget demo, it seemed like the way to go would be to create a custom JavaMethodHandle that encapsulated the logic. I wasn&#39;t able to get it working (mostly in the setTarget step). However, during some experiments, I encountered a segfault in the JVM, so I figured I&#39;d report it. The details (including the minimal test case) are at <a href="http://gist.github.com/113717">http://gist.github.com/113717</a>.</div>

<div><br></div><div>That said, I&#39;m curious about the appropriate way to wire this up. I&#39;m rather new to all of this, so I&#39;m probably missing something obvious.<br clear="all"><br>-- <br>Yehuda Katz<br>Developer | Engine Yard<br>

(ph) 718.877.1325<br>
</div>