Fixed
Details
Assignee
Marko BekhtaMarko BekhtaReporter
Gunnar MorlingGunnar MorlingParticipants
Gunnar MorlingMarko BekhtaPull Request
Components
Fix versions
Priority
Major
Details
Details
Assignee
Marko Bekhta
Marko BekhtaReporter
Gunnar Morling
Gunnar MorlingParticipants
Gunnar Morling
Marko Bekhta
Pull Request
Components
Fix versions
Priority
Created August 8, 2017 at 1:35 PM
Updated October 19, 2017 at 4:09 PM
Resolved October 18, 2017 at 7:40 PM
It seems there's some trouble with using
@ScriptAssert
under OSGi as per this questionNot sure whether it's a question of adding another import or what is missing really.
So thanks to Marko's work we ended up reworking the entire approach for evaluating the script constraints. There's now a new SPI (centered around
ScriptEvaluator
andScriptEvaluatorFactory
) for making the retrieval of script evaluators more flexible: one can plug custom script evaluator factories that just customize the aspect of class-loading (e.g. for retrieving script engines under OSGi) or even factories that return script evaluators other than for JSR 223, e.g. for Spring's SpEL.