Croway opened a new pull request, #26306: URL: https://github.com/apache/camel/pull/26306
`JoorExpression.evaluate` compiled into a local variable when `method` was null and never stored it, so with `preCompile=false` every exchange ran javac and defined a new class. `preCompile=false` with a `resource:` script is the documented hot re-load mode (`JoorPreCompileFalseTest` rewrites the file mid-test), so that path keeps recompiling. Inline scripts are now compiled once lazily into a volatile field. The joor and java language docs (and their catalog mirrors) say which is which. A new test sends two messages through a `preCompile=false` inline expression and asserts one compilation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) _Claude Code on behalf of Croway_ -- 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]
