JDK 9 RFR of 8150204: (fs) Enhance java/nio/file/Files/probeContentType/Basic.java debugging output
Brian Burkhalter
brian.burkhalter at oracle.com
Mon Feb 22 14:50:11 UTC 2016
Sorry, I thought you were proposing an alternative, not eliminating privileged altogether. I’ll update it.
Thanks,
Brian
On Feb 22, 2016, at 3:59 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> you should be able to use userHome = System.getProperty("user.home"). I don't see a need for the privileged block here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20160222/8fe2cf3c/attachment.html>
More information about the nio-dev
mailing list