More generic message

This commit is contained in:
Gus Heck 2023-05-17 09:47:01 -04:00
parent 4235a7e876
commit 58059de7a2
1 changed files with 3 additions and 3 deletions

View File

@ -116,9 +116,9 @@ public final class NamedSPILoader<S extends NamedSPILoader.NamedSPI> 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."));
}