RFR: 8303485: Replacing os.name for operating system customization
David Holmes
dholmes at openjdk.org
Fri Mar 10 02:48:18 UTC 2023
On Thu, 9 Mar 2023 16:01:21 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> src/java.base/share/classes/jdk/internal/misc/OperatingSystem.java line 74:
>>
>>> 72: * The Mac OS X Operating system.
>>> 73: */
>>> 74: Mac("Mac OS X"),
>>
>> The current spelling used by Apple is "macOS", probably to align to other Apple systems (iOS, iPadOS, etc.).
>
> 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.
-------------
PR: https://git.openjdk.org/jdk/pull/12931
More information about the build-dev
mailing list