ScriptRunner STRICT static field
Brought to you by:
derrickoswald
Hello,
We have a multi-threaded application which uses HTML parser.
The ScriptRunner STRICT field and the Lexer STRICT_REMARKS field are both static fields which makes it difficult to control the parser usage in the current multi-threaded JVM. As far as I understand, once you set one of this fields to true/false, all Parser instances in the current JVM are affected. Which makes it difficult to set those fields in different cases while working in a multi-threaded application environment.
Can you recommend a way to solve it?
OR
Is it going to be fixed in next versions?
Thanks for your help,
Eran
Logged In: YES
user_id=605407
Originator: NO
I don't think there is an easy solution.
How would you like to solve it?
Logged In: YES
user_id=2014500
Originator: YES
If there is no an easy solution, can you recommend a workaround or something else?
It will help us alot.
Thanks