RFR: 8288882: JFileChooser - empty (0 bytes) file is displayed as 1 KB [v14]

Abhishek Kumar duke at openjdk.org
Thu Aug 4 06:53:01 UTC 2022


On Thu, 28 Jul 2022 10:08:24 GMT, Abhishek Kumar <duke at openjdk.org> wrote:

>> JFileChooser - empty file size issue fixed. 
>> For empty file, now the size 0 bytes.
>> Manual Test Case "ZeroFileSizeCheck.java" created.
>
> Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
> 
>   creating and deleting test files dynamically

Attached the screenshot for filesize in native Oracle linux and JFileChooser. 

![Oracle_Linux](https://user-images.githubusercontent.com/107542245/182781140-92ccfa3a-3c3f-4827-9696-a72e14b27835.png)
![JFileChooser_Oracle_Linux](https://user-images.githubusercontent.com/107542245/182781147-79b832d3-00b1-414b-bc40-7ed028cf65ce.png)

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

PR: https://git.openjdk.org/jdk/pull/9327



More information about the client-libs-dev mailing list