JDK-8154231 introduced convenience methods to get System.getProperty/getProperties which should be used in favor of AccessController.doPrivileged(new GetPropertyAction(key));
Comments
The API is under review to make it more clear that these methods are doing a privileged action and should be treated with some extra care.