Browse Source

Remove jar name override for preallocate (#95154)

The preallocate lib should be named similar to other libs, with the
elasticsearch- prefix.
Ryan Ernst 2 years ago
parent
commit
fd789183d8

+ 0 - 2
libs/preallocate/build.gradle

@@ -7,8 +7,6 @@
 
 apply plugin: 'elasticsearch.build'
 
-archivesBaseName = 'preallocate'
-
 dependencies {
   implementation project(':libs:elasticsearch-core')
   implementation project(':libs:elasticsearch-logging')

+ 1 - 1
server/src/main/resources/org/elasticsearch/bootstrap/security.policy

@@ -76,7 +76,7 @@ grant codeBase "${codebase.log4j-api}" {
   permission java.lang.RuntimePermission "getClassLoader";
 };
 
-grant codeBase "${codebase.preallocate}" {
+grant codeBase "${codebase.elasticsearch-preallocate}" {
   // for registering native methods
   permission java.lang.RuntimePermission "accessDeclaredMembers";
   // for accessing the file descriptor field in FileChannel