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

Abhishek Kumar duke at openjdk.org
Fri Jul 22 07:50:57 UTC 2022


> JFileChooser - empty file size issue fixed. 
> For empty file, now the size 0 bytes.
> Manual Test Case "ZeroFileSizeCheck.java" created.

Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:

  declare variable for 1000.0 and method formatToDoubleValue moved inside class

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9327/files
  - new: https://git.openjdk.org/jdk/pull/9327/files/02d4c08b..99778d96

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9327&range=11
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9327&range=10-11

  Stats: 9 lines in 1 file changed: 2 ins; 1 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/9327.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9327/head:pull/9327

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



More information about the client-libs-dev mailing list