The Lexer has a mutable static field - STRICT_REMARKS.
This means that it's not possible to use the Lexer safely from two threads if they want to use different settings.
The field should ideally be made an instance variable.
Log in to post a comment.