RFR: 8322140: javax/swing/JTable/JTableScrollPrintTest.java does not print the rows and columns of the table in Nimbus and Aqua LookAndFeel [v3]

Abhishek Kumar abhiscxk at openjdk.org
Wed Apr 10 10:30:10 UTC 2024


On Wed, 10 Apr 2024 09:59:19 GMT, Tejesh R <tr at openjdk.org> wrote:

>> Since you are creating it locally, I guess you can dispose it.
>
> I'm sure whether a new Graphics2D object will be created or reference will be passed, just vaguely remember a conversation regarding disposing it and suggested not to dispose since a reference will be passed on. So not sure should we actually dispose here or not. And also I see in most of the places its not been disposed.

I guess you mentioned about this thread https://github.com/openjdk/jdk/pull/17609#discussion_r1483263329.
But here the graphics object is passed as parameter.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18187#discussion_r1559207876


More information about the client-libs-dev mailing list