From 58059de7a23abd257f73296a19ef94a83f9d2dc1 Mon Sep 17 00:00:00 2001 From: Gus Heck Date: Wed, 17 May 2023 09:47:01 -0400 Subject: [PATCH] More generic message --- .../src/java/org/apache/lucene/util/NamedSPILoader.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lucene/core/src/java/org/apache/lucene/util/NamedSPILoader.java b/lucene/core/src/java/org/apache/lucene/util/NamedSPILoader.java index 0471cebc38e..e69cab4a5cb 100644 --- a/lucene/core/src/java/org/apache/lucene/util/NamedSPILoader.java +++ b/lucene/core/src/java/org/apache/lucene/util/NamedSPILoader.java @@ -116,9 +116,9 @@ public final class NamedSPILoader implements + ((System.getSecurityManager() == null) ? "" : " We have detected that a security manager is installed so it is also possible " - + "that the services file in the jar containing the codec is inaccessible under the current " - + "security policy. A FilePermission implying 'read' access to the " - + "jar containing the META-INF/services/org.apache.lucene.codec.Codec file is necessary. " + + "that the services file in the jar containing the implementation is inaccessible under " + + "the current security policy. A FilePermission implying 'read' access to the " + + "jar containing the META-INF/services directory is necessary. " + "Note that Java does not throw SecurityException if the permission is missing.")); }