-
CSR
-
Resolution: Approved
-
P4
-
None
-
behavioral
-
low
-
-
System or security property
-
Implementation
Summary
Remove the sun.desktop system property.
Problem
The sun.desktop system property is being set by the launcher, on a Gnome desktop to the value "gnome". This is used only by Swing code in java.desktop to decide if it is a Gnome desktop to facilitate further decisions. It is also set on Windows to just the value "windows" for no obvious reason. It may have legacy from when there were plans to create a Sun "Java" desktop L&F.
However it serves no purpose today
Solution
Remove the system property. The only usage of this is replaced by code inside the desktop module which determines if it is a Gnome desktop in the same way.
Specification
1) Remove the sun.desktop system property.
- csr of
-
JDK-8212701 remove sun.desktop property from launcher code
- Resolved
- relates to
-
JDK-8212700 Change the mechanism by which JDK loads the platform-specific AWT Toolkit
- Resolved