RFR: 8288882: JFileChooser - empty (0 bytes) file is displayed as 1 KB [v4]
Abhishek Kumar
duke at openjdk.org
Wed Jul 13 07:30:55 UTC 2022
On Wed, 13 Jul 2022 07:14:31 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> In that case to handle 1 byte, do i need to add separate property in properties file?
>> If filesize=1 then can get "byte" string from properties file and can format using MessageFormat?
>
> am not sure if resource file can support {1} byte case...if that is supported, then you can use that...but likelihood of 1 byte file is very rare so I guess we can ignore it, that's my opinion.
ok, should I revert back "B" to "bytes" in basic.properties and commit?
-------------
PR: https://git.openjdk.org/jdk/pull/9327
More information about the client-libs-dev
mailing list