On Thu, 30 Jun 2022 17:37:30 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> It is introduced in JDK12. If this has to be backported to 8, that's not an 
>> option.
>
> I think we should follow the current format for the time being and show the 
> file size similar to how its shown in native tools.
> 
> In Windows Explorer, 0 bytes are shown as 0 KB, 1 byte is 1 KB and so on… 
> However, JFileChooser shows these as 0 bytes and 1 bytes in both Java/Metal 
> and Windows L&Fs.
> 
> On macOS, Finder shows the size as "Zero bytes" and "1 byte" correspondingly. 
> JFileChooser in Aqua L&F doesn't show the size.

> It is introduced in JDK12. If this has to be backported to 8, that's not an 
> option.

Is this fix going to be backported to 11 and 8?

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

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

Reply via email to