- All Implemented Interfaces:
- Test
public class CryptoServicesRegistrarPropertyTest
extends SimpleTest
Regression test for the thread and global properties of CryptoServicesRegistrar. Setting a
global property used to copy the value onto the calling thread as well, so the thread that ran
the class's static initializer kept the default DSA and DH parameters, and with them the class
loader that loaded Bouncy Castle, for as long as it lived (github #2536). A global value is now
only copied onto a thread that already has a value of its own for the property.