uschindler opened a new pull request, #15867: URL: https://github.com/apache/lucene/pull/15867
Java 22 introduced a new StackWalker implementation that drops all method info. This was made explicitely for logging frameworks or callers that just need to check if a class was called by a specific class where method is irrlevenat. This improves our security checks on VectorizationProvider and TestSecrets, as well as some LuceneTestCase methods. For caller checks we can also give a best gues how many stack elements will be looked at, in most cases this is only 3. In addition for the caller checks I changed the exception thrown to IllegalCallerException instead of UnsupportedOperationException. I will backport this to 10.x, but without the stackwalker changes (just different exception) and code cleanup. -- 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]
