« Return to Thread: Code Review Request: 7173645: (props) System.getProperty("os.name") should return "Windows Server 2012" for Windows Server 2012

Re: Code Review Request: 7173645: (props) System.getProperty("os.name") should return "Windows Server 2012" for Windows Server 2012

by David Holmes-9 :: Rate this Message:

| View in Thread

Looks good to me.

Pity we can't get a version string from the OS for this.

David

On 6/06/2012 4:36 AM, Kurchi Hazra wrote:

> Hi,
>
> This is a minor change in java_props_md.c to return "Windows Server
> 2012" as
> the "os.name" when running on Windows Server 2012.
>
> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7173645 (To
> appear soon)
> Webrev: http://cr.openjdk.java.net/~khazra/7173645/webrev.00/
>
> Thanks,
> Kurchi
>
>

 « Return to Thread: Code Review Request: 7173645: (props) System.getProperty("os.name") should return "Windows Server 2012" for Windows Server 2012