[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: RFR: 8288882: JFileChooser - empty (0 bytes) file is displayed as 1 KB [v13]
From:       Abhishek Kumar <duke () openjdk ! org>
Date:       2022-07-28 16:26:51
Message-ID: 3i9NhhA9uOwoONVXSWIheUF5nJAWlovGjSWkEy3XYmA=.84130a6d-2245-44b6-86fb-b389be3a0240 () github ! com
[Download RAW message or body]

On Wed, 27 Jul 2022 17:23:33 GMT, Andy Goryachev <angorya@openjdk.org> wrote:

> > Abhishek Kumar has updated the pull request incrementally with one additional \
> > commit since the last revision: 
> > space added as per review comment
> 
> src/java.desktop/share/classes/sun/swing/FilePane.java line 1215:
> 
> > 1213:                         } else {
> > 1214:                             double gbVal = formatToDoubleValue(len);
> > 1215:                             text = MessageFormat.format(gigaByteString, \
> > gbVal);
> 
> should we also handle "{0} TB" cases?

Files having "TB" sizes may not be handled now.

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic