On Thu, 11 Aug 2022 10:02:56 GMT, Abhishek Kumar <[email protected]> wrote:
>> JFileChooser - empty file size issue fixed.
>> For empty file, now the size 0 KB.
>> Manual Test Case "FileSizeCheck.java" created.
>
> Abhishek Kumar has updated the pull request incrementally with one additional
> commit since the last revision:
>
> Smaller file sizes display one decimal precision
Changes requested by prr (Reviewer).
src/java.desktop/share/classes/sun/swing/FilePane.java line 1209:
> 1207: }
> 1208: text = mf.format(objs);
> 1209: } else if (len < 100L) {
we can never reach here, can we ? And isn't it obsolete ?
-------------
PR: https://git.openjdk.org/jdk/pull/9327