RFR: 8303485: Replacing os.name for operating system customization [v3]

Roger Riggs rriggs at openjdk.org
Tue Mar 14 18:21:36 UTC 2023


On Tue, 14 Mar 2023 15:04:47 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix indentation and improve exception message
>
> src/java.base/share/classes/jdk/internal/util/OperatingSystem.java line 29:
> 
>> 27: 
>> 28: /**
>> 29:  * Enumeration of operating system types and testing for the current OS.
> 
> Would it be more correct to say an enumerating of operating system names rather than types?

It is more OS type or kind than name; there are multiple distros that are Linux, i.e. Ubuntu, Fedora, Oracle Linux, etc..
It is not equivalent to `os.name`.

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

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



More information about the build-dev mailing list