Cheleswer, I would recommend to simple change
ll. 222 of original code to uid_t euid = geteuid(); if (euid != 0 && statp->st_uid != euid) { return false; } -Dmitry On 2015-05-14 12:26, cheleswer sahu wrote: > Hi, > Please review the code changes for > https://bugs.openjdk.java.net/browse/JDK-8075773. I have built and > tested JDK9 with fix successfully. As I do not have an account for OpenJDK, > David Buck will push the fix into jdk9/hs-rt/. > > Web review link: http://cr.openjdk.java.net/~dbuck/8075773/webrev.01/ > > Regards, > Cheleswer > > > > > > > > > -- Dmitry Samersoff Oracle Java development team, Saint Petersburg, Russia * I would love to change the world, but they won't give me the sources.