This repository was archived by the owner on Mar 23, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-bigquery Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 </parent >
1616 <properties >
1717 <site .installationModule>google-cloud-bigquery</site .installationModule>
18- <netty .version>4.1.119.Final</netty .version>
1918 </properties >
2019 <dependencies >
2120 <dependency >
117116 <dependency >
118117 <groupId >org.apache.arrow</groupId >
119118 <artifactId >arrow-memory-netty</artifactId >
120- <!--
121- Due to JDK8 requirement, we are forced to use arrow version below v18
122- which has io.netty:netty-common a dep. and its vulnerabilities
123- -->
124- <exclusions >
125- <exclusion >
126- <groupId >io.netty</groupId >
127- <artifactId >netty-common</artifactId >
128- </exclusion >
129- <exclusion >
130- <groupId >io.netty</groupId >
131- <artifactId >netty-buffer</artifactId >
132- </exclusion >
133- </exclusions >
134- <scope >runtime</scope >
135- </dependency >
136- <!--
137- Define io.netty versions to override org.apache.arrow:arrow-memory-netty
138- transitive dependency versions which contains vulnerabilities.
139- -->
140- <dependency >
141- <groupId >io.netty</groupId >
142- <artifactId >netty-common</artifactId >
143- <version >${netty.version} </version >
144- <scope >runtime</scope >
145- </dependency >
146- <dependency >
147- <groupId >io.netty</groupId >
148- <artifactId >netty-buffer</artifactId >
149- <version >${netty.version} </version >
150- <scope >runtime</scope >
151119 </dependency >
152120
153121 <!-- auto-value creates a class that uses an annotation from error_prone_annotations -->
290258 <fork >true</fork >
291259 <compilerArgs >
292260 <arg >-J--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED</arg >
261+ <arg >-J--add-opens=java.base/java.nio=java-base,ALL-UNNAMED</arg >
293262 </compilerArgs >
294263 </configuration >
295264 </plugin >
Original file line number Diff line number Diff line change 1- Args = --add-opens =java.base/java.nio =ALL-UNNAMED
1+ Args = --add-opens =java.base/java.nio =ALL-UNNAMED \
2+ --initialize-at-run-time =org.apache.arrow.memory.netty.DefaultAllocationManagerFactory
Original file line number Diff line number Diff line change 3131 },
3232 {
3333 "name" :" org.apache.arrow.memory.DefaultAllocationManagerFactory" ,
34- "fields" :[{"name" :" FACTORY" }]
34+ "allDeclaredFields" :true ,
35+ "queryAllDeclaredFields" :true ,
36+ "queryAllDeclaredMethods" :true ,
37+ "queryAllDeclaredConstructors" :true
3538 },
3639 {
3740 "name" :" org.apache.arrow.vector.types.pojo.ArrowType" ,
5053 "allDeclaredFields" :true ,
5154 "queryAllDeclaredMethods" :true
5255 },
56+ {
57+ "name" : " org.apache.arrow.vector.types.pojo.DictionaryEncoding" ,
58+ "allDeclaredFields" : true
59+ },
60+ {
61+ "name" : " org.apache.arrow.vector.types.pojo.Field" ,
62+ "allDeclaredFields" : true
63+ },
64+ {
65+ "name" : " org.apache.arrow.vector.types.pojo.Schema" ,
66+ "allDeclaredFields" : true
67+ },
5368 {
5469 "name" :" io.netty.buffer.AbstractReferenceCountedByteBuf" ,
5570 "fields" :[{"name" :" refCnt" }]
Original file line number Diff line number Diff line change 11{
22 "resources" :{
3- "includes" :[{
4- "pattern" :" \\ Qorg/apache/arrow/memory/DefaultAllocationManagerFactory.class\\ E"
5- }]}
3+ "includes" :[
4+ {
5+ "pattern" :" \\ Qorg/apache/arrow/memory/DefaultAllocationManagerFactory.class\\ E"
6+ }
7+ ]
8+ },
9+ "globs" :[
10+ {
11+ "glob" : " org/apache/arrow/memory/DefaultAllocationManagerFactory.class"
12+ },
13+ {
14+ "glob" : " org/apache/arrow/memory/netty/DefaultAllocationManagerFactory.class"
15+ },
16+ {
17+ "glob" : " org/apache/arrow/memory/unsafe/DefaultAllocationManagerFactory.class"
18+ }
19+ ]
620}
You can’t perform that action at this time.
0 commit comments