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

Abhishek Kumar duke at openjdk.org
Fri Jul 8 07:05:49 UTC 2022


On Thu, 7 Jul 2022 20:10:01 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> > In Windows, it uses ShellFolder to set FileSize column values and it is returned in terms of bytes in stead of KB (as shown by native tools).
> 
> This doesn't seem to be true for Windows, I see "0 KB" and "1 KB" for zero-byte and one-byte sized files correspondingly in Windows Explorer.
> 
> > To handle filesize in windows, I will like to raise separate PR.
> 
> Are you saying you will submit a new bug to address the above?

For Windows, I would like to submit a new bug,

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

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



More information about the client-libs-dev mailing list