I have my custom policy file which I want to append to existing Java Policy programmatically but not from command prompt because there =
for append and ==
to override.
If I try
System.setSecurityManager(new SecurityManager());
System.setProperty("java.security.policy","myPolicy.policy");
Then will it append with existing or override that ?