On Wed, 27 Jul 2022 04:31:58 GMT, Abhishek Kumar <d...@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:
> 
>   space added as per review comment

src/java.desktop/share/classes/sun/swing/FilePane.java line 1215:

> 1213:                         } else {
> 1214:                             double gbVal = formatToDoubleValue(len);
> 1215:                             text = MessageFormat.format(gigaByteString, 
> gbVal);

should we also handle "{0} TB" cases?

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

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

Reply via email to