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

   Hi, 
   I checked how it is implemented inside the JVM. It is impossible to prevent 
the warning, unless you disable native access in Lucene by default. So you can 
work around only by enabling or disabling it. So I can't fix this inside Lucene 
code:
   
   The check for Module#isNativeAccessEnabled always returns false when the 
defaults are used and it is only enabled by the code.
   
   So actually the check you do in this PR breaks native access unless opted in.


-- 
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