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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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