The bugs.java.com site will be undergoing maintenance on 15th Dec 2017 21:00 PST to 16th Dec 2017 1:00 AM PST.
JDK-6463612 : 6451939 only fixed for Metal L&F
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 Availabitlity Release.
6451939 was only fixed for Metal L&F. The behavior is still reproducible on Win XP, Win Classic and Motif L&Fs. Try to run attached application on mentioned L&Fs and it shows the problem.
To summarize what Shannon said:
. This is a regression introduced in the fix for 4991597.
. 6451939 tried to fix this, but it fails for some look and feels (windows).
. Proposed fix is to effectively revert the part of 4991597 that is breaking JTextArea (what this bug is against).
The fix for 6451939 tried to be careful about when colors were replaced by checking that the existing background was one of the known colors for the component. Unfortunately, even this isn't enough. In some cases, JLabel uses the same background color as one of those that the text components know about.
For now, we haven't yet determined an optimal way to solve this problem. So we'll stop replacing the background color altogether for JTextArea. A new bug will be filed so that we can solve this problem in a better way.