There is a typo in the following code segment in BMUnit:
/**
* test whether a security policy should be set for agent codewhen the agent is installed
*/
private static boolean initPolicy()
{
String policyString= System.getProperty(AGENT_PORT);
return (policyString == null ? false : Boolean.valueOf(policyString));
}
Believe the constant should be AGENT_POLICY.