RFR: 8288882: JFileChooser - empty (0 bytes) file is displayed as 1 KB [v21]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Fri Aug 19 10:31:49 UTC 2022
On Wed, 17 Aug 2022 09:08:00 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:
>
> whitespace error removed
Marked as reviewed by psadhukhan (Reviewer).
test/jdk/javax/swing/JFileChooser/FileSizeCheck.java line 60:
> 58: "Test 8: If the size of 8-File-1000-KB shows 1.0 MB\n" +
> 59: "Test 9: If the size of 9-File-2.8-MB shows 2.8 MB\n\n" +
> 60: "press PASS.\n\n";
I think it's better to have 1st-Empty-File, 2nd-File-1-Byte etc but it's upto you..
-------------
PR: https://git.openjdk.org/jdk/pull/9327
More information about the client-libs-dev
mailing list