Menu

#284 Lexer is thread-hostile

open
nobody
None
5
2010-11-13
2010-11-13
CapnNemo
No

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.

Discussion


Log in to post a comment.