File tree Expand file tree Collapse file tree 4 files changed +4
-0
lines changed Expand file tree Collapse file tree 4 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ itestJar {
131
131
132
132
tasks. named(" test" ). configure {
133
133
jvmArgs " --add-opens=java.base/java.io=ALL-UNNAMED" // Needed for IOUtils's BYTE_ARRAY_BUFFER reflection
134
+ jvmArgs " --add-opens=java.base/java.lang=ALL-UNNAMED" // Needed for secure mock
134
135
}
135
136
136
137
eclipse. classpath. file {
Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ if (JavaVersion.current() >= JavaVersion.VERSION_17) {
149
149
task. configure {
150
150
jvmArgs " --add-opens=java.base/java.io=ALL-UNNAMED" // Needed for IOUtils's BYTE_ARRAY_BUFFER reflection
151
151
jvmArgs " --add-opens=java.base/java.nio=ALL-UNNAMED" // Needed for org.apache.spark.SparkConf, which indirectly uses java.nio.DirectByteBuffer
152
+ jvmArgs " --add-opens=java.base/java.lang=ALL-UNNAMED" // Needed for secure mock
152
153
}
153
154
}
154
155
}
Original file line number Diff line number Diff line change @@ -200,6 +200,7 @@ if (JavaVersion.current() >= JavaVersion.VERSION_16) {
200
200
if (task. getName(). startsWith(" test" ))
201
201
task. configure {
202
202
jvmArgs " --add-opens=java.base/java.io=ALL-UNNAMED" // Needed for IOUtils's BYTE_ARRAY_BUFFER reflection
203
+ jvmArgs " --add-opens=java.base/java.lang=ALL-UNNAMED" // Needed for secure mock
203
204
}}
204
205
}
205
206
Original file line number Diff line number Diff line change @@ -184,6 +184,7 @@ if (JavaVersion.current() >= JavaVersion.VERSION_16) {
184
184
task. configure {
185
185
jvmArgs " --add-opens=java.base/java.io=ALL-UNNAMED" // Needed for IOUtils's BYTE_ARRAY_BUFFER reflection
186
186
jvmArgs " --add-opens=java.base/java.nio=ALL-UNNAMED" // Needed for org.apache.spark.SparkConf, which indirectly uses java.nio.DirectByteBuffer
187
+ jvmArgs " --add-opens=java.base/java.lang=ALL-UNNAMED" // Needed for secure mock
187
188
}}
188
189
}
189
190
You can’t perform that action at this time.
0 commit comments