RFR: 8303485: Replacing os.name for operating system customization

Alan Bateman alanb at openjdk.org
Fri Mar 10 14:04:29 UTC 2023


On Fri, 10 Mar 2023 02:43:15 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Names and branding have changed over the years. 
>> It may be prudent to remove the name entirely and stick to a 'generic' identification of the OS as the Enum name.
>
> The current branding is "macOS" and we made a lot of changes in various places (but not all of course) to ensure that we use "macOS". Even if this can change in the future I think starting with the current terminology rather than defining something new, would be much better.

I think "macOS" would be better here. Yes, Apple have changed it several times but it has been stable since about 2016.

-------------

PR: https://git.openjdk.org/jdk/pull/12931


More information about the core-libs-dev mailing list