Please take a review at http://cr.openjdk.java.net/~weijun/8172017/webrev.00
On Solaris when launched by root, the rcache directory is a little different.
I've manually tested this on a Solaris machine, and seen rcache files created at different directories when the test was launched by root and a normal user.
Thanks Max