RFR 9 8161039 : System.getProperty("os.version") returns incorrect version number on Mac

Alan Bateman Alan.Bateman at oracle.com
Thu Jul 21 17:12:13 UTC 2016


On 21/07/2016 18:08, Brent Christian wrote:

> Hi,
>
> The fix for 7131356 introduced a minor behavior change in the value of 
> the "os.version" system property on MacOS.
>
> On systems running an OS with a patch version of 0, we've started 
> including this in the value of os.version (e.g. "10.11.0"), whereas 
> before the trailing ".0" was omitted.
>
> Please review this fix, which restores the previous behavior.
This looks okay to me.

-Alan


More information about the core-libs-dev mailing list