sabi0 commented on issue #12964: URL: https://github.com/apache/lucene/issues/12964#issuecomment-1867408496
I have a vanilla Amazon Corretto JDK 17. And it has this: ``` // allows anyone to listen on dynamic ports permission java.net.SocketPermission "localhost:0", "listen"; ``` As far as I can see this is a common practice. Zulu JDK 11 also has the exact same permission. As well as JDK 8. There is also `gradle\testing\randomization\policies\tests.policy` in the project itself that opens it a bit more: ``` // TestLockFactoriesMultiJVM opens a random port on 127.0.0.1 (port 0 = ephemeral port range): permission java.net.SocketPermission "127.0.0.1:0", "accept,listen,resolve"; ``` -- 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