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 could be cleanup up: 1. sun.awt.OSInfo#getOSTypeAction - is unused now 2. 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 ------------- PR Comment: https://git.openjdk.org/jdk/pull/13213#issuecomment-1487500450
