Add JSR223 support to given specific jars (ClassLoader)
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
**orimarko** ([Bug 63538](https://bz.apache.org/bugzilla//show_bug.cgi?id=63538&redirect=false)):
When executing JSR223 script you sometimes need different/older version of jars (as apache commons)
Solution is to add an optional jars folder which will be used as ClassLoader when creating ScriptEngineManager in JSR223BeanInfoSupport
First asked in https://stackoverflow.com/questions/56842003/ways-to-resolve-library-conflict-in-jmeter
Votes in Bugzilla: 1
OS: All
Contributor guide
Research direction
Start by reading JSR223BeanInfoSupport and the surrounding JSR223 script-engine setup. Trace how ScriptEngineManager is created, then determine where an optional jars folder can provide the ClassLoader. Done means scripts can use alternate or older jars when configured, while existing behavior remains unchanged otherwise.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100