uschindler commented on PR #15844:
URL: https://github.com/apache/lucene/pull/15844#issuecomment-4102811016

   Hi,
   as suggested by @cortlepp, I added some extra catch block for 
RuntimeException for safety, because it may indeed happen that the linker does 
not support our FunctionDescriptor.
   
   In addition, I changed `Constants.JRE_IS_64BIT` constant to use 
`ValueLayout.ADRRESS` size to get bitness of platform. This works with Java 25 
as its public API. We still can't get page size, so we require the native call. 
@dweiss what do you think?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to