[8u] RFR 8054817: File ccache only recognizes Linux and Solaris defaults

Wang Weijun weijun.wang at oracle.com
Wed Aug 20 02:59:21 UTC 2014


Please review the fix for the same bug for jdk8u-dev:

  http://cr.openjdk.java.net/~weijun/8054817/8u/webrev.00/

We don't have sun.misc.VM.getuid() in jdk8 so the fix is even simpler. The test is identical though.

Thanks
Max

On Aug 11, 2014, at 22:14, Wang Weijun <weijun.wang at oracle.com> wrote:

> Please review the fix at
> 
>   http://cr.openjdk.java.net/~weijun/8054817/webrev.00
> 
> since we have a new getuid() now for all Unix systems.
> 
> It does return -1 on Windows, but I keep the osname.startsWith("Windows") check to be exactly consistent with the current behavior. getuid() might return something not -1 one day on Windows.
> 
> Thanks
> Max
> 




More information about the security-dev mailing list