RFR: 8304912: Use OperatingSystem enum in java.desktop module [v4]

Andrey Turbanov aturbanov at openjdk.org
Mon Apr 10 16:11:49 UTC 2023


On Sat, 8 Apr 2023 03:51:26 GMT, Phil Race <prr at openjdk.org> wrote:

>> Roger Riggs has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains seven additional commits since the last revision:
>> 
>>  - Refactor to use sun.awt.OSInfo instead of system property os.name.
>>    Modify OSInfo to use jdk.internal.util.OperatingSystem.
>>    Modify OSInfo.getOSType() to use a cached value and not require doPriv
>>    or throw SecurityException
>>  - Merge branch 'master' into 8304912-use-os-desktop
>>  - Update copyright
>>    Replaced a few more uses of os.name.
>>  - Merge branch 'master' into 8304912-use-os-desktop
>>  - Use OperatingSystem.isAix
>>  - Remove unused os.arch system property
>>  - Apply OperatingSystem enum instead of os.name to java.desktop module
>
> src/java.desktop/windows/classes/com/sun/java/swing/plaf/windows/WindowsLookAndFeel.java line 2:
> 
>> 1: /*
>> 2:  * Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved.
> 
> no changes so revert (c) year

@RogerRiggs missed this one

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13213#discussion_r1161856370



More information about the client-libs-dev mailing list