On Mon, 25 Sep 2023 06:53:49 GMT, Prasanta Sadhukhan
wrote:
>> test/jdk/javax/swing/JTableHeader/SerializeJTableHeader.java line 55:
>>
>>> 53: for (UIManager.LookAndFeelInfo laf :
>>> UIManager.getInstalledLookAndFeels()) {
>>> 54: System.out.println("Testing L&F: " + laf)
On Mon, 25 Sep 2023 07:00:38 GMT, Prasanta Sadhukhan
wrote:
>> After the first time a JTableHeader is serialized, it no longer will
>> uninstall its UI upon subsequent serializations.
>> This happens for classes that use the BasicTableHeaderUI class. Any LAF that
>> extends the BasicTableHeade
On Fri, 22 Sep 2023 11:53:30 GMT, Alexey Ivanov wrote:
>> Prasanta Sadhukhan has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> try-with-resource use
>
> test/jdk/javax/swing/JTableHeader/SerializeJTableHeader.java line 55:
>
>> 53:
> After the first time a JTableHeader is serialized, it no longer will
> uninstall its UI upon subsequent serializations.
> This happens for classes that use the BasicTableHeaderUI class. Any LAF that
> extends the BasicTableHeaderUI like SynthTableHeaderUI and
> WindowsTableHeaderUI will get an
On Fri, 22 Sep 2023 07:12:08 GMT, Prasanta Sadhukhan
wrote:
> I guess in test, resource leak probably wouldn't matter…
No, it wouldn't. Yet someone could later copy the code and use file streams
where closing the streams matters. Always following the pattern is safer.
-
PR Review
On Fri, 22 Sep 2023 07:18:09 GMT, Prasanta Sadhukhan
wrote:
>> After the first time a JTableHeader is serialized, it no longer will
>> uninstall its UI upon subsequent serializations.
>> This happens for classes that use the BasicTableHeaderUI class. Any LAF that
>> extends the BasicTableHeade
On Mon, 11 Sep 2023 19:05:25 GMT, Alexey Ivanov wrote:
>> Prasanta Sadhukhan has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> try-with-resource use
>
> test/jdk/javax/swing/JTableHeader/SerializeJTableHeader.java line 46:
>
>> 44:
> After the first time a JTableHeader is serialized, it no longer will
> uninstall its UI upon subsequent serializations.
> This happens for classes that use the BasicTableHeaderUI class. Any LAF that
> extends the BasicTableHeaderUI like SynthTableHeaderUI and
> WindowsTableHeaderUI will get an
> After the first time a JTableHeader is serialized, it no longer will
> uninstall its UI upon subsequent serializations.
> This happens for classes that use the BasicTableHeaderUI class. Any LAF that
> extends the BasicTableHeaderUI like SynthTableHeaderUI and
> WindowsTableHeaderUI will get an
On Thu, 31 Aug 2023 08:02:35 GMT, Prasanta Sadhukhan
wrote:
> After the first time a JTableHeader is serialized, it no longer will
> uninstall its UI upon subsequent serializations.
> This happens for classes that use the BasicTableHeaderUI class. Any LAF that
> extends the BasicTableHeaderUI
On Thu, 31 Aug 2023 08:02:35 GMT, Prasanta Sadhukhan
wrote:
> After the first time a JTableHeader is serialized, it no longer will
> uninstall its UI upon subsequent serializations.
> This happens for classes that use the BasicTableHeaderUI class. Any LAF that
> extends the BasicTableHeaderUI
On Thu, 31 Aug 2023 16:07:03 GMT, Prasanta Sadhukhan
wrote:
>> test/jdk/javax/swing/JTableHeader/SerializeJTableHeader.java line 47:
>>
>>> 45: ByteArrayOutputStream baos = new
>>> ByteArrayOutputStream();
>>> 46: ObjectOutputStream oos = new ObjectOutputStream(
On Thu, 31 Aug 2023 15:54:41 GMT, lawrence.andrews wrote:
>> After the first time a JTableHeader is serialized, it no longer will
>> uninstall its UI upon subsequent serializations.
>> This happens for classes that use the BasicTableHeaderUI class. Any LAF that
>> extends the BasicTableHeaderUI
On Thu, 31 Aug 2023 08:02:35 GMT, Prasanta Sadhukhan
wrote:
> After the first time a JTableHeader is serialized, it no longer will
> uninstall its UI upon subsequent serializations.
> This happens for classes that use the BasicTableHeaderUI class. Any LAF that
> extends the BasicTableHeaderUI
After the first time a JTableHeader is serialized, it no longer will uninstall
its UI upon subsequent serializations.
This happens for classes that use the BasicTableHeaderUI class. Any LAF that
extends the BasicTableHeaderUI like SynthTableHeaderUI and WindowsTableHeaderUI
will get an NotSerial
15 matches
Mail list logo