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

Abhishek Kumar duke at openjdk.org
Fri Jul 22 07:53:25 UTC 2022


On Thu, 21 Jul 2022 11:00:17 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:
> 
>   Deleted ZeroFileSizeCheck file and updated text from 999.0 to 999 in FileSizeCheck file

Declared a variable "baseFileSize to replace 1000.0 value. 
Method formatToDoubleValue has been moved inside class DetailsTableCellRenderer.

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

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



More information about the client-libs-dev mailing list