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

   > These messages are sys-outed from each forked test runner and echoed as 
'system.err' by the main gradle process. You can see them in the debug log if 
you run gradle with -debug:
   > 
   > ```
   > 2024-06-07T21:11:59.792+0200 [ERROR] [system.err] WARNING: Using incubator 
modules: jdk.incubator.vector
   > 2024-06-07T21:11:59.831+0200 [ERROR] [system.err] WARNING: A command line 
option has enabled the Security Manager
   > 2024-06-07T21:11:59.831+0200 [ERROR] [system.err] WARNING: The Security 
Manager is deprecated and will be removed in a future release
   > ```
   > 
   > and when you launch the full runner executable (again - provided in debug 
logs), you'll see the same thing:
   > 
   > ```
   > WARNING: Using incubator modules: jdk.incubator.vector
   > WARNING: A command line option has enabled the Security Manager
   > WARNING: The Security Manager is deprecated and will be removed in a 
future release
   > ```
   > 
   > Perhaps gradle finally improved the runner to echo jvm messages emitted 
before the tests commence (which should help with security log audits...)?
   > 
   > I don't think there's anything we can do about these messages - they're 
really emitted by the jvm that runs tests.
   
   I don't care about those warnings they are expected. See the warnings I 
posted above. They make no sense, because it says that incubator is enabled but 
later it says not readable. But this appears in random m modules. I think this 
comes not from running our tests, but Gradle loading some class in it's own JVM 
and triggering the message on clinit.
   
   The other one with the warning about the `--add-modules` is the only one 
that has to do with moduleAPI vs moduleImplementation. It looks like the 
lucene.core java module is not part of the startup parameters but it wants to 
enable native access for it.
   
   So please only look at those 2 messages:
   ```
   Juni 07, 2024 12:07:56 PM 
org.apache.lucene.internal.vectorization.VectorizationProvider lookup
   WARNUNG: Java vector incubator module is not readable. For optimal vector 
performance, pass '--add-modules jdk.incubator.vector' to enable Vector API.
   
   WARNING: Unknown module: org.apache.lucene.core specified to 
--enable-native-access
   ```


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to