RFR: 6450193: After the first Serialization, JTableHeader does not uninstall its UI

lawrence.andrews duke at openjdk.org
Thu Aug 31 16:17:06 UTC 2023


On Thu, 31 Aug 2023 16:07:03 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> test/jdk/javax/swing/JTableHeader/SerializeJTableHeader.java line 47:
>> 
>>> 45:                 ByteArrayOutputStream baos = new ByteArrayOutputStream();
>>> 46:                 ObjectOutputStream oos = new ObjectOutputStream(baos);
>>> 47:                 //System.out.println(jth.getUI());
>> 
>> This line can be removed
>
> No I wanted that to find out the UI class in case there is problem, so no harm in having it there, I presume..

Sure, thanks

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15507#discussion_r1311880648


More information about the client-libs-dev mailing list