<Swing Dev> RFR: 8058704: Nimbus does not honor JTextPane background color [v2]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Tue Aug 3 11:23:29 UTC 2021


On Tue, 3 Aug 2021 06:34:28 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Does it mean that "shapes" tag is not used and we can remove all its usage in the file?
>
> 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)

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

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


More information about the swing-dev mailing list