mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-24 14:45:56 +00:00
Fix for HER-1939 ScriptedDecideRule: field sharedEngine non-transient and non-serializable.
* ScriptedDecideRule.java
make field sharedEngine transient
This commit is contained in:
@@ -105,7 +105,7 @@ implements ApplicationContextAware, InitializingBean {
|
||||
|
||||
transient protected ThreadLocal<ScriptEngine> threadEngine =
|
||||
new ThreadLocal<ScriptEngine>();
|
||||
protected ScriptEngine sharedEngine;
|
||||
transient protected ScriptEngine sharedEngine;
|
||||
/** map for optional use by scripts */
|
||||
public Map<Object,Object> sharedMap = new ConcurrentHashMap<Object,Object>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user