It looks like this still needs to be updated, as this will throw security exceptions when running under a security manager