<div dir="ltr"><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">With the (hopeful) ascendance of FFM over JNI, what about the idea of allowing `native` methods to be bound to `MethodHandle`s on the Java side at run time? This would allow for a much nicer experience than creating wrapper methods and would bring another level of parity with JNI, which has this capability (`RegisterNatives`). The capability could be restricted as a form of native access, and only allowed for methods in classes within the same module.</div><br clear="all"></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">What do you think?</div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">- DML • he/him<br></div></div></div>