RFR: 4337898: Serializing DefaultTableCellRenderer changes colors [v2]

Prasanta Sadhukhan psadhukhan at openjdk.org
Mon Dec 1 07:41:12 UTC 2025


On Mon, 1 Dec 2025 07:27:38 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

>> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Automate test
>
> test/jdk/javax/swing/DefaultTableCellRenderer/DefRendererSerialize.java line 103:
> 
>> 101:                         throw new RuntimeException("Desrialized foreground and background color not same");
>> 102:                     }
>> 103:                 } catch (IOException | ClassNotFoundException e) {}
> 
> Shouldn't we re throw those exceptions? (considering them as a failure)

usually in other test they just do printStackTrace but we can rethrow...Updated..

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28549#discussion_r2575945628


More information about the client-libs-dev mailing list