On Tue, 3 Aug 2021 11:21:01 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

>> I dont know. I am only telling by looking at source code..I dont know what 
>> NimbusL&F creator meant it for...
>
> I think we should give this fix a chance...sInce this is solving 2 
> long-standing issue where setBackground() contract is not honoured plus 
> causing no regression to existing tests.
> If we do find any testcase with "shape" in future from open community or any 
> other related testcase being failed for this fix, we can always work on it 
> (or at the least roll back this)

It looks the fix doesn't work or alternatively it works in an unexpected way.

Both JEditorPane and JTextPane used to have white background but now, with 
these changes, their background is the same of the panel below. It's probably 
know what we want.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4930

Reply via email to