Race condition in _ExternalSpecifications methods
-------------------------------------------------
Key: MYFACES-2576
URL: https://issues.apache.org/jira/browse/MYFACES-2576
Project: MyFaces Core
Issue Type: Bug
Components: JSR-314
Affects Versions: 2.0.0-beta-2
Environment: *
Reporter: Jan-Kees van Andel
The static final fields in the _ExternalSpecifications have recently been
refactored into methods. But unfortunately, this has broken thread safety,
possibly leading to strange errors (like NPE).
I think the only solution with the current implementation is to make the
methods synchronized. Volatile is not enough AFAICS...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.