LuciferYang opened a new pull request #32536: URL: https://github.com/apache/spark/pull/32536
### What changes were proposed in this pull request? SPARK-35253 upgraded janino from 3.0.16 to 3.1.4, `ClassBodyEvaluator` provides the `getBytecodes` method to get the mapping from `ClassFile.getThisClassName` to `ClassFile.toByteArray` directly in this version and we don't need to get this variable by reflection api anymore. So the main purpose of this pr is simplify the way to get classes from `ClassBodyEvaluator` in `CodeGenerator.updateAndGetCompilationStats` method. ### Why are the changes needed? Code simplification. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Pass the Jenkins or GitHub Action -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
