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

Roger Riggs rriggs at openjdk.org
Fri Mar 24 16:24:53 UTC 2023


On Fri, 24 Mar 2023 16:04:38 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> src/java.base/share/classes/jdk/internal/util/OperatingSystem.java line 81:
>> 
>>> 79:      */
>>> 80:     AIX,
>>> 81:     ;
>> 
>> So no Unknown value?
>
> Correct, as explained above.

If additional OS values are needed, they can be added to the enum and add the corresponding `isXXX()` method building on the same pattern used in OperatingSystemProps.java.template.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/12931#discussion_r1147804555



More information about the build-dev mailing list