In several occurrences in the code, the system properties are accessed in this manner:
The use of System.getProperties() forces the use of this permission in the SecurityManager:
This is not really desired in security sensitive environments. It is not possible to use more fine-grained permission declaration like e.g.:
This problem could be easily avoided by accessing the properties in this manner:
Without the use of System.getProperties() it is not mandatory to set the dangerous write permission on all system properties and more fine-grained security permissions like in the example could be used.