NativeScope in jextract code

Duncan Gittins duncan.gittins at gmail.com
Sun Apr 25 09:38:45 UTC 2021


I've rebuilt with latest panama-foreign and noticed that there is a
NativeScope class in the generated code referenced once from RuntimeHelper:

   static final <Z> MemorySegment upcallStub(Class<Z> fi, Z z,
FunctionDescriptor fdesc, String mtypeDesc, NativeScope scope);

I couldn't find any callers of this method or other dependencies of
NativeScope in the generated code. Is this class needed / intended for
future use inside the jextract generated code?

Kind regards

Duncan


More information about the panama-dev mailing list