rednaxelafx commented on code in PR #38190:
URL: https://github.com/apache/spark/pull/38190#discussion_r992864456
##########
pom.xml:
##########
@@ -3011,7 +3011,8 @@
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
<junitxml>.</junitxml>
<filereports>SparkTestSuite.txt</filereports>
- <argLine>-ea -Xmx4g -Xss4m -XX:MaxMetaspaceSize=2g
-XX:ReservedCodeCacheSize=${CodeCacheSize} ${extraJavaTestArgs}
-Dio.netty.tryReflectionSetAccessible=true</argLine>
+ <argLine>-ea -Xmx4g -Xss4m -XX:MaxMetaspaceSize=2g
-XX:ReservedCodeCacheSize=${CodeCacheSize} ${extraJavaTestArgs}
-Dio.netty.tryReflectionSetAccessible=true
+ -Djdk.reflect.useDirectMethodHandle=false</argLine>
Review Comment:
The issue seem to be that the ClosureCleaner is trying to set a final field
which shouldn't be allowed. This is Spark-specific (and affects all other
projects that copied Spark's ClosureCleaner), and doesn't exist in the vanilla
Scala REPL.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]