mirror of https://github.com/apache/lucene.git
More generic message
This commit is contained in:
parent
4235a7e876
commit
58059de7a2
|
@ -116,9 +116,9 @@ public final class NamedSPILoader<S extends NamedSPILoader.NamedSPI> implements
|
||||||
+ ((System.getSecurityManager() == null)
|
+ ((System.getSecurityManager() == null)
|
||||||
? ""
|
? ""
|
||||||
: " We have detected that a security manager is installed so it is also possible "
|
: " 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 "
|
+ "that the services file in the jar containing the implementation is inaccessible under "
|
||||||
+ "security policy. A FilePermission implying 'read' access to the "
|
+ "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. "
|
+ "jar containing the META-INF/services directory is necessary. "
|
||||||
+ "Note that Java does not throw SecurityException if the permission is missing."));
|
+ "Note that Java does not throw SecurityException if the permission is missing."));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue