RFR: 8347408: Create an internal method handle adapter for system calls with errno [v7]
Per Minborg
pminborg at openjdk.org
Tue Jan 14 07:37:39 UTC 2025
On Tue, 14 Jan 2025 06:29:36 GMT, David Holmes <dholmes at openjdk.org> wrote:
> Where do you actually make the native call and grab the errno/last-error value?
So, as we foresee the adoption of the FFM API in the JDK internals, we will use such a mechanism for system calls like `fopen`, `socket`, and the like.
See https://github.com/openjdk/jdk/pull/22307 for example.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22391#issuecomment-2589211900
More information about the core-libs-dev
mailing list