JDK-8046559 : NPE when changing Windows theme
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_7
  • CPU: x86,x86_64
  • Submitted: 2014-06-11
  • Updated: 2015-01-21
  • Resolved: 2014-07-08
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.

To download the current JDK release, click here.
JDK 7 JDK 8 JDK 9
7u76Fixed 8u40Fixed 9 b24Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
The fix to JDK-8039383 caused a regression and was backed out under JDK-8046391.
This bug is created to deliver the working fix as soon as JDK-8042590 is available in 9/dev repository.

See JDK-8039383 for details.
Comments
Code review for JDK 7: Latest webrev: http://cr.openjdk.java.net/~aivanov/8046559/jdk7/webrev.00/ Review threads: http://mail.openjdk.java.net/pipermail/awt-dev/2014-July/008203.html http://mail.openjdk.java.net/pipermail/swing-dev/2014-July/003721.html I replaced labmda expression in WToolkit.java with anonymous class. It is the only change from the previous webrev for jdk9.
15-07-2014

The fix combines changesets from the three bugs: JDK-8039383, JDK-8046239, and JDK-8042590. It also adds regression test to JDK-8046391.
11-07-2014

Latest webrev: http://cr.openjdk.java.net/~aivanov/8046559/jdk9/webrev.01/ Review threads: http://mail.openjdk.java.net/pipermail/awt-dev/2014-July/008147.html http://mail.openjdk.java.net/pipermail/swing-dev/2014-July/003657.html
08-07-2014