Details
Description
EasyMockProperties use System Properties keySet() method which can lead to exceptions in the case simultaneous change of the System Properties from another thread.
This happens a lot in our build once we enable parallel unit test running.
Attached is a fix (full_patch.txt). I've also attached the 3 intermediate patches that I've used to refactor the code, write the test reproducing the issue and fix it.
Proper version of the fix.