On Tue, 28 Mar 2023 17:59:31 GMT, Roger Riggs <[email protected]> wrote:
> Update classes in the java.desktop module to use the > jdk.internal.util.OperatingSystem enum instead of the `os.name` system > property to select OS specific behaviors. > * sun.awt.OSInfo#getOSTypeAction - is unused now > > * sun.awt.OSInfo#getOSType could use `OperatingSystem` method instead of > relying of sun.awt.OSInfo#OS_NAME property. It seems it's used only in one > place - sun.awt.X11.MotifColorUtilities#loadSystemColorsForCDE OSInfo.getOSType() is used by some (1) tests; those references will need to be remediated. ------------- PR Comment: https://git.openjdk.org/jdk/pull/13213#issuecomment-1487524189
