Deprecate the BeanShell scripting support

Closes gh-35720
This commit is contained in:
Sébastien Deleuze
2025-10-30 14:42:41 +01:00
parent d33f2c6f73
commit b1cd508016
3 changed files with 6 additions and 0 deletions
@@ -35,7 +35,9 @@ import org.springframework.scripting.ScriptSource;
* @author Juergen Hoeller
* @since 4.0
* @see Interpreter#eval(String)
* @deprecated with no replacement as not actively maintained anymore
*/
@Deprecated(since = "7.0")
public class BshScriptEvaluator implements ScriptEvaluator, BeanClassLoaderAware {
private @Nullable ClassLoader classLoader;
@@ -42,7 +42,9 @@ import org.springframework.util.ReflectionUtils;
* @since 2.0
* @see BshScriptUtils
* @see org.springframework.scripting.support.ScriptFactoryPostProcessor
* @deprecated with no replacement as not actively maintained anymore
*/
@Deprecated(since = "7.0")
public class BshScriptFactory implements ScriptFactory, BeanClassLoaderAware {
private final String scriptSourceLocator;
@@ -38,7 +38,9 @@ import org.springframework.util.ReflectionUtils;
* @author Rob Harrop
* @author Juergen Hoeller
* @since 2.0
* @deprecated with no replacement as not actively maintained anymore
*/
@Deprecated(since = "7.0")
public abstract class BshScriptUtils {
/**