RFR: 8324048: (fc) Make FileKey fields final

Daniel Jeliński djelinski at openjdk.org
Wed Aug 21 18:39:06 UTC 2024


On Wed, 21 Aug 2024 18:26:43 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> I assume a System.loadLibrary (by way of IOUtil.load) is needed, otherwise dependent on something else loading the native library.
>
>> I assume a System.loadLibrary (by way of IOUtil.load) is needed, otherwise dependent on something else loading the native library.
> 
> I think that is correct after all. It should load the NIO native library, which defines `fdval()` and `handleval()`. I must have confounded this with #20317 wherein those symbols are moved to `libjava`.

I think the important part here is that libnio defines `Java_sun_nio_ch_FileKey_init`.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/20429#discussion_r1725543353


More information about the nio-dev mailing list