Skip to content

[ISSUE-5884] Remove reflection from BeanShellInterpreter #6441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Alioth4J
Copy link
Contributor

Description

  • add bsh dependency to build.gradle.kts (:src:core)
  • remove reflection-related code
  • create bshInstance directly and invoke its methods directly
  • remove redundant exception handling

Motivation and Context

Closes #5884

How Has This Been Tested?

Run ./gradlew test

OS: Linux-x64
JDK: OpenJDK 21.0.6

Screenshots (if appropriate):

./gradlew test:
test

./gradlew build:
build

Types of changes

Refactoring

Checklist:

  • My code follows the [code style][style-guide] of this project.
  • I have updated the documentation accordingly.

@vlsi vlsi merged commit 9c64fd2 into apache:master Mar 25, 2025
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove reflection from BeanShellInterpreter
2 participants