RFR: 8288882: JFileChooser - empty (0 bytes) file is displayed as 1 KB [v29]
Andrey Turbanov
aturbanov at openjdk.org
Mon Sep 26 21:12:41 UTC 2022
On Sun, 18 Sep 2022 09:33:42 GMT, Abhishek Kumar <duke at openjdk.org> 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:
>
> Review comment fix
src/java.desktop/share/classes/sun/swing/FilePane.java line 1127:
> 1125: JFileChooser chooser;
> 1126: DateFormat df;
> 1127: final static double baseFileSize = 1000.0;
let's use blessed modifiers order: `static final`
-------------
PR: https://git.openjdk.org/jdk/pull/9327
More information about the client-libs-dev
mailing list