uschindler commented on code in PR #13048:
URL: https://github.com/apache/lucene/pull/13048#discussion_r1469932148
##########
lucene/core/src/java/org/apache/lucene/internal/vectorization/VectorizationProvider.java:
##########
@@ -185,7 +185,7 @@ static VectorizationProvider lookup(boolean testMode) {
*/
private static Optional<Module> lookupVectorModule() {
return
Optional.ofNullable(VectorizationProvider.class.getModule().getLayer())
- .orElse(ModuleLayer.boot())
Review Comment:
This change is not necessary. The boot layer is a static constant in system
class.
--
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]