Closed kkofler closed 6 years ago
(The force-push changed the From address to my work address, I accidentally had the wrong address set.)
@kkofler Good point. Thanks very much for the PR.
Are you going to do a new release soon?
I just made one.
Great, thanks!
Use System.getProperty to get a specific property instead of first retrieving all properties with System.getProperties() only to read one property out of it.
This is more friendly to security managers: instead of requiring the permission to read and even write all properties ("java.util.PropertyPermission" "*" "read,write"), the policy only needs to allow reading a specific property, which is much more secure.
Depending on the JVM implementation, System.getProperty can also be more efficient.