JDK-8046239 : Build failure in 9-client on all non-Windows platforms
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
It appears that the fix for 8039383 pushed here
has broken all non-windows builds since shared code now
references files only in the windows build
The build failure is caused by JDK-8039383 push.
Windows Look&Feel proved to be available on non-Windows platforms. At the same time WindowsLookAndFeel can't be used on other platforms but Windows since its isSupportedLookAndFeel() method returns false.
Thus, XPStyle is shared code and it can't access WToolkit which isn't available on other platforms but Windows. I removed the dependency on WToolkit from XPStyle: it uses "win.xpstyle.themeActive" to access the desktop property as it used to do.
There's a stub version of ThemeReader.java in src/solaris/classes/sun/awt/windows/ which is used for non-Windows builds. I added isXPStyleEnabled() function which always returns false.